Is there any way you can baby gate off the hall way and leave him in there. Or if the room entrances are too large, getting a huge piece of wood and blocking the way. Perhaps a smaller space will help. Also if he is going to pee anyway, maybe some pee pads might make the clean up a bit easier. Its not ideal, but im thinking of your carpet