As a tax payer, I've noted that San Francisco has actually been removing trash cans, that worked perfectly well, because people just dump trash beside them for the city to pick up. No trash can, no dumping? No, they dump anyways.
So the solution isn't to use the old design which seemed to work "ok". Or even talk to other cities to see if they have better options SF could just buy. It was to completely redesign a trash can. Insane. I'm waiting for SF to hire an outside firm to resign the tires on their city vehicles.
So yes, you can solve multiple problems at once, but there are also only so many hours in the day and so many tax dollars to work with and spending any time/money on new trash cans is less time solving actual quality of life problems.