No, the rules regarding medication are simple: driving affected is always prohibited and it is your responsibility to know whether you are affected or not. If you make a misjudgement and drive dangerously you may be found guilty of drunk driving, even if a doctor prescribed the medication.
You should always refrain from driving if you have taken one or more medications and exhibit any of the following symptoms: