Yes: If you can't fill a certain prescription because of your religious beliefs, you should not have a pharmacist license. Religious freedom means you have the right to believe anything you want, but it does not mean you can do anything your religion tells you to do without legal consequences. My religion could tell me to marry multiple 12 year old virgins. If I do anything like that I would spend years in prison. My religion could tell me to stone adulterers to death, keep slaves, kill disrespectful children, etc. All examples from actual mainstream religions!
Religion is a fine thing, if you need that to cope with life's difficulties. Just keep it in your pants.