It's expensive and risky, and it can be hard to find a specialist vet. I kept pet rats once, and it was easier to just separate the males and females from each other.
I know yours is a joke comment, but without the dogs eating the food (the garbage), some other animal is going to eat it instead. I predict an explosion of rats in another decade.
Not really. Dogs often topple over garbage bin, and spill content on streets. Some countries use garbage bags, dogs break those. Without dogs, there is a good chance garbage just stays in bins, and gets actually collected!