Isn't there some oath or ethic that requires DRs, RAs, EMTs, etc to at least try to resuscitate a person?
That is quite the can of worms you want to open there!
First and foremost is "Do no harm". Is there a chance of them surviving? Does it put others at risk of death or injury? I gaurantee that there have been ethics committees all over the US trying to answer these question in light of Covid-19 and most are probably struggling with it.
This is not new, way back when I first became a Nurse (2000), not that long ago, I worked OB and Newborn Nursery. I was in Oklahoma and a lot of the women were against abortion for whatever reason. Because of that I participated in deliveries of non-viable babies (normally huge genetic issues such as Trisomy 13 or 18) around the 22 week mark. We would induce labor and deliver the baby, sometimes deceased, sometimes alive. So in a way it was an abortion but the mother did not feel that way. We would not attempt to resuscitate the baby if it was alive. In every case we would give the baby to the mother and father and they would love it for as long as it was breathing, then we would do a complete bereavement procedure. And yes,, this was considered ethical at the time and probably still so.
So to answer your question.... Maybe.
bob