I would certainly draw the line at smelly hot takeaways - bad enough on a bus, when you’re not feeling fragile. As for staying the whole night, unless it’s a private room with sufficient facilities, I can’t see how that would work, or not disturb other people.
My dd who recently gave birth must have been lucky. After the birth she was moved to her own room with a big double bed, where her also very tired dh fell asleep beside her in the evening. (It was an NHS hospital, in case anybody’s wondering.). He later came home to bed, though.
IIRC after she had her first in the same hospital, visitors had to be out by a certain time - 8 or 9 pm.