Beds on ceilings?

The new beds can be placed on foundations. What about ceilings, for example put it on your second floor?

I believe it said it must have a roof over it, so as long as that is satisfied then I am guessing yes.

Can anyone confirm this?

It’s true, I put a bed on a second floor.

Thanks!