Learn about the ragdoll ceration workflow, a script to toggle between an Animator and Ragdoll, and some optimization ideas for having ragdolls in your game.
Why do you think that https://github.com/llamacademy/scriptable-object-based-guns is a good alternative to ragdolls