Can there be a ban on long vehicles (trucks)?

The municipality receives signals with some regularity that (long) trucks are driving through residential neighborhoods when the roads are too narrow for that. Currently, certain downtown streets have a length restriction of 10 meters.