The state of New York could buy these homes and use them to re-home individuals placed into them or repurpose them. Or build new, affordable housing.
Just don’t pay your rent and get taken away to be given a free house and food and all your bills paid!
Are you seriously arguing for renting and no social safety net? If rent was affordable and fair, it'd be another story.
What if it was hearsay? What if they got the wrong person? Are you aware that a false report could be made by somebody who hates homeless people? A homeless person experiencing an "episode" could be them expressing grief, sorrow, and any number of emotions in reaction to their life or situation, but they lack the privacy to express themselves. Better take their freedom away, then.
A person who uses drugs is not inherently mentally ill. Why cart them to a mental institution instead of giving them the option to go to a rehab?