Short answer: Yes, you can use a 26" barrelled gun for home defense.
How you employ any weapon, and all the variables of the situation takes a much longer answer.
This is my opinion on using a sporting length barrel for home defense. Pick a spot to hunker down, and defend that spot within...