No idea if that’s a good idea, but living in SF I can definitely say that whatever the city, or even the US as a country, has been doing until now has been useless.
Disclaimer: I used to live in Chicago, and while not as bad as sf, the homeless situation was the worst I had seen in my life at that time. So that sorts of tells me that this might be a national issue, not just an sf issue although it is definitely much more noticable in SF.
In Chicago, drug addicts are transient-homeless. They're in and out of shelters as they get evicted or kicked out of a place, but they find somewhere new (indoors) to live. Some may be periodic homeless.
The chronic homeless in Chicago are usually physically and mentally disabled, and while they may drink, it's not substance abuse that keeps them from holding down a job and getting shelter.
One of the recent encampments we visited had an interesting story. It sits on what was the future site of a factory, and the group had all gathered there to work as labor for the construction. However, the builders found contaminated soil, and were working on a mitigation plan when covid hit, and these guys (and a few women) have been living there ever since. They recently called the police because someone who moved in to camp had stolen propane tanks from the neighborhood grills.
They're not all like that but it's a much different scene than a warm weather city's homeless camps. Edit: One thing that makes this plain is the lack of sharps in the chicago homeless camps. Most of the time you won't see orange caps!
Have had many outdoor dining experiences in SF that I would consider aggressive begging...
We have littering rules, we as a society don't find it important. Why is styrofoam or cans OK. If you thinks drugs are a problem because they are a source of litter you should also think take out and portable food and other things people litter with are a problem?
And i seem to remember public bathrooms near the bart stations. they were like temporary green plastic things. but sure the city should have more in general. those kinds of things help everybody