If sleeping on the street is a crime, enforce that crime. Don't pretend that if we magically banned all of the hypothetical reasons people might commit that crime that it will eliminate that crime. We can't enforce every-fucking-thing - and we have proven conclusively that we can never effectively ban popular street drugs - so let's focus instead on crimes with victims and enforce them more aggressively.