COULD have, but without the same capacity as a military style assault weapon and without the bulkiness.For a great many things.
This is why many, maybe most, states will not allow its use for hunting deer or larger game.
Speaking of shotguns...
Every mass shooting in the US, save one, could have been equally perpetrated with a pump-action shotgun.
Don't see many shotguns used on drive-bye's.
Given their reduced muzzle energy, the shotgun (not using a slug) is worthless too, unless they are used , close range.
You aren't going to use either as a sniper.