The problem is, this is a very broad question. It sounds specific, but lets look at some details.
Is the deceased a parent? A child? A friend? A work associate?
What about the person performing the autopsy? One can assume they are good at what they do. Did they choose this profession? Do they find the task fascinating? Or would they rather be another kind of doctor?
Whether or not someone could perform an autopsy would be specific to the people involved. It would be easy for someone who is a socio-path and formed no bond. Contrariwise, someone who's life is deeply enmeshed in their job might just be able to because they felt they were doing justice to their loved one to find the killer. Or they might think it's better someone who cared about the deceased do the work.
I'm not sure a simple answer exists either way beyond: There are people who could perform and autopsy on someone they love. There are also people who couldn't.