No, it’s petty minded high-school philosophy to pretend that starving a paraplegic is morally speaking better than euthanising them with morphine.
There are endless things that distance this from the trolley problem, but mainly starving someone to death isn’t inaction, it’s a conscious clinical choice.
It’s utterly bizarre in my mind that is what the USA settled on as a grotesque compromise. Particularly so because outside the medical setting this would still be homicide by starvation.