No, its an arbitrary tax to pay for the bloated court system. Safety is not the name of the game with traffic laws.
If it was, people would not be getting tickets for harmless infractions.
Look at redlight cameras. certain cities had them and now removed them. They were put up for "safety", but removed because they didn't make the city enough money.