When I was little my grandma's house had a toilet in the second bedroom. It was behind a slight wall so you couldn't literally see it from the bed, but pretty much the same deal.
It saved me from having to run the gauntlet to the loo downstairs with potential monsters/ghosts at night. Loved it