I've come across such devices several times. Well intended, but I believe that if you're getting so tired that you may fall asleep you really shouldn't be driving and look for a nearby hotel instead.
A sudden buzz or loud sound notification may scare me, which could cause accidents too.