If death is imminent, medical intervention may be needed. My own experience with malnourishment has given me compassion.
I got chicken pox for the second time as an adult. I was thin (downright skinny) to begin with, and by the time it cleared I was malnourished. My body no longer "wanted" food, and I could tolerate very little. It was strange and difficult. I had to make myself eat 2-3 small bites every hour and gradually increase the portions. I can't imagine how much harder it would have been if my mind had also rejected the process.
Anorexia and bulimia need to be better understood to help those who suffer. I only know the physical side. I imagine the psychological is even more painful.
We intervene on other forms of suicide. To ignore their need for help would be cruel. Progress has been made. I sincerely hope we learn more, so we can help more.