I once knew someone with limited space for his family's mobile vacation getaway, so he found a way to secure a mattress to the ceiling, and lowered it (I think it was winched, but what about other methods?) for some floor sleeping.
I'm not saying it's a great idea, but it's better than a bed taking up the floor all the time, at least to some extent.