From personal experience, Nah. I mean OK, ya got 10 rounds. You really need to be able to "place" those rounds. When you adrenaline level pegs the meter, the odds of being able to hit anything with a single small tiny projectile really go inna toilette. Plus, when you run the lever for a follow up shot (you will miss the first one at least) you'll yank the barrel all over the place. I rifle as a home defense item is not a good idea, unless it's absolutely the only thing you have.
Based on personal experience. 12Ga. Real simple. 12Ga, riot barrel (20 - 22 inches), full length magazine, loaded with alternating Buck Shot and Slugs. If strictly "in home" then all Buck Shot. 9 balls per round times is 6 + is 54 very lethal balls. Think "Pink Dust."
Now for the heartbreaker. Also from personal experience. There is NO SUCH THING as "Backup." There is only your primary. When the Fecal Matter hits the Recirculating Rotary, you will reach for your primary. You will win or lose with your Primary. You will NOT have the time nor opportunity to go to a "back up." The most effective close combat weapon on the planet is a Shotgun. Oh, also, the same applies out in the land of the Big Trees. An annoyed Bear can cover 40 - 50 yards incredibly quick. Carry extra clean/dry shorts.
Coffinmaker