Absolutely

I'd be interested to see a study done looking at cultures that primarily believe in reincarnation compared to a single eternal afterlife to see if the phenomenon is influenced by their religious and cultural belief or if it's just an innate mechanism that our brains use when faced with death. The people I find clinging to religion for coping with death is usually from the families of patients rather than the patients themselves.