Some airlines (the American Airlines Boeing 773 for example) have beds on each side of an aisle, kind of like a cruise ship.