I only know about this 'cause I know some of their sysadmins. but there's a whole industry of automated truck-tracking and truck-activity logging out there.
Most of it, I think, is focused on reducing liability/reducing insurance costs, I think; I don't think most of it is legally mandated.
Note, I've also heard from other people who's pagers go off when certain devices can't resolve GPS signals that a common cause of their pager going off is a trucker driving by with a GPS jammer that was being used to defeat one of these automatic truck logging deals.
So... yeah, it's not legally mandated or anything, but automatic logging of truck activity and speed is pretty common.
But how are they enforcing the anti drug stuff? A relative is a trucker and I recall him telling me it wasn't worth screwing around with alertness meds (speed, modafinil, etc) due to risks of getting caught. (And some similar stuff for taking on passengers/hitchhikers?) Seems like if that kind of oversight is in place then adding sleep restrictions is not hard.
Or do you mean that they'd technically have had enough time to sleep, but in reality they weren't actually sleeping, but short of invasive biomonitoring it's impossible to tell? (One could be in bed, reading, for example.)
Maybe people with no experience of insomnia just don't consider the possibility.