Depending on where you live and the layout of your home, that extra punch may be an asset or a liability. If overpenetration is the overriding concern, smallshot would be adequate at very short range. Here's how one person went about selecting a shotgun for home defense. Hi-res Rifles are significantly more acurate at ranges over 100m than either shotguns or pistols. While a firefight at 100m would be unusual for city dwellers, in open country it is far more likely.
Shotguns compensate for the lack of range with inclreased versatility.
Below is a small sample of loads available in 12 gauge. Rifle bullets travel at high velocity and will defeat most bullet-proof vests, interior walls, cars and most other types of cover. While shoulder arms offer power and accuracy, in practice, handguns are often more expedient and easier to operate in confined spaces. Some people joke that a handgun is the tool used to fight your way to where your rifle is. Here is a typical semi-automatic rifle with a detachable magazine.