Several of the online mattress companies offer free returns. I think Casper and Leesa both offer 100 days, for example. I think it's very safe to assume that a mattress depreciates a lot when not in brand new condition.
But the model is obviously working for them. Maybe the industries aren't exactly comparable because of different margins, though.