I slept downstairs with puppy Izzy, who was in a playpen. He woke up early morning every night, did a poo whcih had to be cleaned up (and often him as well because he'd trodden in it) then didn't want to go back to sleep. he was allowed upstairs, onthe bed, when he could go through the night.
However, Teddy and Joly, in their carrier, went from midnight to 6 o'clock, with only one mistake each ( a small wee). I think it's ot so much due to being upsatairs, but beacuse they had only a small space and didn't want to soil it.
Barbara, Monty, Joly and Teddy.