Within reason.
For example, anyone who has a funeral for a trans person who has changed their name under their birth name is sending out a message that says “I couldn’t give a shit about this real person, so I’m having a funeral for a person from my imagination instead”. It might be what the family wants, but it doesn’t benefit them in the long term.