This is how the civil reserve air fleet works. If an airline wants to receive military contracts it has to make a portion of it’s fleet available for emergency use.
I’m personally not a big fan of these sorts of neoliberal public private partnerships. But at least with conventional thinking it’s not that bad of an idea. Not sure why you’re getting all these downvotes.
Or we could just, y'know, produce enough homeless shelters or crisis housing ourselves, through the government + taxes.
Trying to twist the private sector's arm into doing this themselves is stupid, it's not their wheelhouse, just tax their profits and have the government do it.
If you want to convert a dwelling to short stay accommodation you have to also make it available for x days per year for crisis accommodation.