No, they should have their medical license revoked. Doctors have to swear an oath to not intentionally or knowingly harm a patient for a reason, because their well being is their top priority. If they can’t adhere to that oath because of arbitrary religious/philosophical/political/whatever beliefs, then they have no business being a medical professional.