I really don't think I would ever seriously consider actually firing a 12 ga shotgun inside my house at a human being or anything else.
Just consider the mess, whether you hit your intended victim or not. If I did hit the target (and you probably wouldn't miss) I think I would probably have to move out of that home after viewing the blood and guts, the mangled body and then having to clean it up.
That's what they make 45s for.
Even the 45 is going to leave a mess. Walls can be rebuilt, carpet can be replaced, and if your insurance is good, they hire a company for the clean-up.
And, yes, I am speaking from experience.
A perp entering your home with intent to harm is a "victim"?