I'll assume we are talking about home
defense instead of home
clearing. I regard clearing a house alone as a nightmare whether I have a handgun or a long gun.
I believe an M-1 Carbine is only 3 feet long, which is about the same as a shotgun with 18" barrel. That's fine for bedroom defense if you're not worried about overpenetration.
I suppose a bayonet might be helpful if someone comes charging into the room and his momentum continues him forward after being perforated, but otherwise I'm not sure of the benefit. That said, I definitely want a bayonet for the 590A1 I plan to buy some day.
I hear the Mossberg has a pretty good bayonet extraction system.