Here in Germany, that is usually governed by city codes anyway, no need for an HOA - trash cans usually have to be in a separate room indoors (for large complexes) or in an enclosure (e.g. [1], the first grab off of Google). We don't need micromanaging HOAs (and don't have them outside of condo complexes), because decades upon decades of experience have led to a democratically agreed set of basic rules - in this case: society has democratically decided that they don't want trash bins standing around in the open, partially because that's a fucking eyesore, partially because free-standing bins just attract vermin and pests.
[1] https://www.vidaxl.de/e/vidaxl-mulltonnenbox-fur-3-tonnen-20...
I definitely would not want to live next to someone learning how to use a welding rig.
Judging by the sheer number of Prop 65 warnings slapped on everything in California, that's hardly unique to automobiles.
Besides, it's already illegal to dump such fluids. Enforce the existing reasonable laws instead of introducing new unreasonable ones.
You're free to join a homeowner's association which will micromanage not only smells but also the location of your garbage can.