Is it? Seems like heavy enforcement could pay for itself in terms of fines.
But the better question is why would you need to have overpaid humans drive around in cars to catch speeding violations? In most of Europe you almost never get stopped by cops for traffic violations. Most speeding violations are caught by stationary radar traps, a machine can run the plates and send you the ticket by mail, including a pretty picture of the driver of the car if you want to dispute who drove it. Sometimes there are similar traps activated by passing a red light. It'll even tell you how the long the light had been red when you passed it.
In the case of headlights, I disagree. Many other countries have laws that require always on headlights, or at least daytime running lights (DRLs) in some cases.
For example, I work in the auto industry and the cars that we distribute in America have different light programming than the cars we send next door to Canada. It's stupid. We should at least require DRLs in America and then we'd be on par with countries like Poland, Russia, Serbia, Slovakia, Slovenia, etc. who recognize it's safer when every moving vehicle is lit up. There's no day-to-day enforcement needed, the car turns on the lights automatically every time the vehicle is started.
Also bikes absolutely should have lights and are required by law to have them in my country (and to have them on at night, dusk or in reduced visibility conditions). E-bikes and e-scooters also have lights which are typically always-on regardless of lighting conditions.
Pedestrians don't normally have lights (although I've seen joggers wear hi-vis vests or head lamps, especially during early morning or late night runs) but pedestrians also don't move as rapidly and suddenly as vehicles. Plus in urban environments drivers are expected to look out for pedestrians, especially in narrower roads. "Child peeking out between parked cars" is a scenario covered several times during driver ed and the practical exam includes one emergency break without prior warning (tho in practice learners can make an educated guess about when it might be coming up, e.g. being led to a low-traffic street and instructed to "pick up speed a little").
Not to mention, I said "at least" DRLs because DRLs are a watered down version of what the European studies show as safer, which is headlights on all the time. In the US, the brightness of DRLs is limited, so the studies are shit to begin with because they're not even using the right variables to find the safest solution.