You may use futon or murphy beds in bedrooms to make the space more usable while not sleeping. I uploaded pictures of this kind of beds as examples.