In our sukka we have a table that can turn into a bed, by folding up its long table-legs and stretching out shorter bed-legs (and then putting a mattress on top of it). Is there any halachic issue with sleeping on such a bed? Doesn’t a table have kedusha? A gutten moed!
Since it is made to serve also as a bed, it is permitted.