Not at all. While you can rent an air-mattress on the living room floor, it should be advertised as such. When a listing is for an apartment with 2 bedrooms and an air mattress on the living room floor, listing it as "3 bedrooms" is bullshit and not even legal.
It should be disclosed in the listing, but in search filters it is fine. They could probably find a way to disclose it better is search filters too with a bit of design.