How so?
If there is some broader issue, that should be considered by elected legislatures.
This is what these groups are for. To raise building code when warranted.
[1] https://www.nfpa.org/-/media/Files/News-and-Research/Fire-st...
Imagine if I had a heart attack while behind the wheel and hurt someone?? Soda should be banned for this reason.
... and building codes that express someone's preference or taste for how something should be done.
For example, a building code that says all houses must be pink, or all houses must be made from wood, or all houses must use electric stoves, are only tangentially related to someone's opinion on safety at best.