If it were a temporary situation, but we wouldn't recommend sleeping on a sofa bed for the long term, if you have other options. The mattresses are slimmer and don't have the same support as a regular mattress made for a bed.
'There’s certainly no judgment, but it’s not the most comfortable option out there,' says Heather Goerzen, design director at online interiors studio, Havenly. 'Sofa beds are designed more with guests in mind and infrequent use, and won’t hold up as well to a regular night routine.'