I think so long as you maintain consciousness that issue is fairly null in this particular circumstance. There’s lots of tolerance for changes in thought while maintaining the same self, see many brain damage victims. So long as there is minimal change in personality, there are lots of other circumstances that have a stronger case for killing one person and having a new person replace them due to change of consciousness, imo, I don’t think most people would consider a brain damaged person killed and replaced by a new consciousness, or a drug addiction with radically altered brain chemistry, etc.
Specifically skeletons are a big deal. Lots of games edit them out, WoW had alternate models for the Undead players, who generally have exposed bone joints and other bits of bone protrusions, to cover them all in flesh. I think it is sometimes OK to use skeletons as enemies, but never for player characters, IIRC.