Is there some sort of plugin for cpanel or at least something I can use on the admin section of my site that will test if an admin logging in is drunk and block them if they appear to be?
On a serious note though:
If you have precedent of admins login in to your CPanel (or other server management consoles) intoxicated/drunk, it might be wiser to look at this problem as a personnel/management issue instead of looking for a solution to a problem as trying to put a bandaid on a gaping wound. (As of right now, there is no practical way of doing this since most entities looking at this kind of solution would also have to think at preventing access to people under the influence of Marijuana, Cocaine, Speed, Mushrooms, etc..)
You should note that you can control ‘who you hire/has admin rights’, but not who’s going to act irresponsibly, maliciously, and unethically on your servers. Remember, by hiring and giving those rights, you’re making the decision of who’s going to have your trust based on your personal assessment.
Check more discussion of this question.