Exactly the other way round. The rituals are solely for the benefit of those still living to better deal with their grief and loss.
I suppose strange requests could become an inconvenience. But Hunter Thompson's request that he be sent up as fireworks for his friends to observe and enjoy, for example, seems less an inconvenience and more a thoughtful gesture to those he left behind.
So it all depends on the request, I guess.
I assume that other religions offer explanatory contexts for their rituals as well. These may or not make sense when transferred to a modern secular society.
I think at its basic level there is something along these lines: change is uncertain, the group is here to witness the change and the group is not startled, I'm ok because the group is ok.
"ceremonial burial was practiced by archaic secular societies as well - including Neanderthals."
Is there evidence regarding religious belief among the Neanderthals? I'd love to read some material on that.