We did two group shroom trips with my friend who died of cancer earlier this month. They did help with the weight and anxiety of it, I think for all of us. But it only softened the blow a bit, took some of the edge off and allowed us to focus more in the remaining months on new experiences and thoughts rather than ruminating.
They tried ketamine a few times on his deathbed but I think he was on too much morphine to benefit from that.