Boston and Cambridge, MA have passed truck side rail laws. "Trucks over x height prohibited" and "Trucks over x weight prohibited" are common.
States and cities can do a lot, and in fact can do a lot more then the federal government because they don't have a 10th amendment restricting them.
https://www.volpe.dot.gov/our-work/truck-side-guards-resourc...