I don't specifically recall anyone emptying a shotgun in home defense. I do recall one man defending his gun shop adjacent to his home. As I recall he used multiple weapons, some FA, and many rounds of ammo, against a multi man crew.
Generally, I doubt it would be an issue. But, if you were hit by a crew of three or more, on a home invasion, who thought you had some specific valuables, they might choose to fight rather than run.