We had many debates about this at school last year.
I don't think there is any problem with it as long as the circumstances are correct, and all is done decently and appropriately.
One of the most important things to think about though, is how do you know whether someone is mentally in the correct frame of mind to make such a crucial decision?
I think there should be certain conditions, but providing the conditions are correct and are always met, I don't see a problem.