On the surface yes. But to sue a company into oblivion you have to create statutes (legislation time cost) and create a process for identifying violations (do cops do this? meter maids? city workers?) establish a legal team task force to handle those prosecutions (more money for the DA? a new team? outside counsel?), follow through those prosecutions (court costs, sheriff costs), and finally collect judgements (collection costs)
As compared to putting accessible restrooms and disposal bins around the city and cleaning them weekly.