Of course you can be charged with a crime for doing what you were told to do by your boss; there is NO legal rule or principal that allows a person to commit criminal acts because his or her employer tells them to. You pretended to be someone you are not to call in a presciption; that is illegal. Just like you could not murder someone because your boss told you to, you also can't do this on your boss's say-so.