Not only is this a massive fire safety concern (considering why the requirement for two means of egress exists in residential building code), it's also a massive optics concern to stuff unhoused people into what'll effectively be written up by the press as a prison cell.
Changing code here is unviable.