Not in the way you mean.
When I was a baby, I am told, my mother confronted a man who’d broke into our public housing apartment and faced him down. I don’t remember the incident, though.
When I was 19 or 20 I got robbed at shotgun point while working at Sears. Bright daylight, in the store.
Speaking more peripherally: my best friend was attacked in her own room. Her attacker raped her repeatedly, beat her badly, and kidnapped her and forced her to drain her bank account, informing her that he intended to kill her afterwards. She saved her life by leaping out of a moving car. Her assailant is now in prison, rather than dead as would be optimal. The night he forced her way into her bedroom she heard a prowler in the house. If she’d had a gun in hand, she might well have been able to prevent the most horrible night of her life.
More periphery: my little sister and her (then) tween daughter narrowly escaped a similar experience; that is, their house got robbed while they were in it, but they got behind a sturdy locked door and help arrived before the burglar could get it down. Also, I once turned on the television to see a jackass tv reporter asking a coworker of mine how she felt about the man who had invaded her family’s home, as apparently her still-bruised and tear-stained face was insufficiently expressive.
So I’ve given the issue some thought. I won’t force a confrontation with a home invader; I’ll do what I can to avoid it, including cowering in the bedroom. I wouldn’t shoot someone in the back while he was exiting the premises with my laptop or whatever. But an intruder who is trying to force his way into a locked bedroom in which he knows there are people is presumed to be intent on rape, assault, or murder. I’m gonna shoot him.