There are plenty of cars with similar features already. If anything, they make you aware that you are tired, so that you may choose to have a rest at the next stop or something.
Perfect is the enemy of good. If it prevents some people from falling a sleep and causing an accident that's excellent.