Sadly, tho such a plan for facilities might be initiated with the best of intentions, I suspect govt would screw it up just like they have Veteran’s Administration-run hospitals :(
Especially in Dem-controlled states like California.
Any ‘Facilities’ that the government ‘provides’ to fix the problem will be worse. Mental institutions have provided safe shelter in the past.
Laws prohibiting homelessness, however, protect the citizenry from icky things like cholera and, oh yes, typhus.