If it is a high traffic area such as a sidewalk or park, then no
But if it is somewhere like under an overpass with no sidewalks underneath, then yes. The government should also provide more direct aid to homeless people via funding, along background checks followed by rehab if needed.