Homelessness is a symptom. The actual diseases underlying it at mental illness and addiction (and under them are deep social disfunction). Sadly none of those core issues are really treatable.
You can look at the epidemiology of what's happening there and it's actually amazing. Thousands of lives saved every year just from overdoses, let alone the social damage caused by drugs.