Quote: "By saying this Smallg does it mean you can get the NPC to get back up after ragdoll? And carry on as normal or not.?"
you can't make it smoothly animate to stand up no, the ragdoll is not an animation and so you would need to move all the limbs manually to recover from ragdoll as the limbs would always be in a different location each death (vs an animation which is predetermined and could be reversed easily)... you could in theory make an animation to stand up from lying on the floor and before you started it move all the limbs to the animations starting position - but while there are some limb commands available i don't think there's enough to achieve it.
it would be much easier to do this with some predetermined death animations.
Quote: "It would be so handy if someone could develop a Respawn(e) command to hand it lol"
as i said, you can use the Spawn(e) command to magically make the entity alive again as if nothing happened - i.e. standing and ready to go.