This is the same fallacious thinking “libertarians” fall into when they think civil court will solve for most regulations/codes. The burden of proving harm is too high. Probably hundreds of millions were spent proving that leaded gasoline was unsafe. No criminal prosecution could have accomplished that. They simply don’t have the resources.
And who would they have prosecuted anyway? The gasoline companies weren’t actually the ones causing the harm. It was the billions of people driving around burning the stuff.
There’s a reason we end up with laws regulating specific things like this. It’s untenable for the courts to handle otherwise.