As long as the pharmacy is willing to fill it. They are not obligated to do so.
Well that really depends on the state and what reason the pharmacy/pharmacist has for refusing.
In Arizona, Georgia, Arkansas, Missouri, South Dakota, and Idaho, a pharmacist can refuse to provide certain meds on moral or religious grounds (when the customer is a female or transgender) and does not have to refer the customer to another pharmacy.
Texas, Oregon, Alabama, North Carolina, Pennsylvania, and New York, on the other hand, a pharmacist can refuse to fill the script on moral or religious ground but must refer the customer to another pharmacy that will fill the script.
Washington, California, Nevada, Illinois, Wisconsin, Main, Massachusetts, and specifically New Jersey (OP's state), The pharmacist is required to provide the medication and can only refuse for specific reasons. Company policy is not one of them.
The Attorney General of NJ states (in 2019) that the reasons are as follows:
4. The pharmacist has the right to refuse to fill a prescription if, in his or her professional judgment, the prescription is outside the scope of the practice of the practitioner; or if the pharmacist has sufficient reason to question the validity of the prescription; or to protect the health and welfare of the patient.
The last reason being such things as:
if doing so would harm the patient, such as when the patient is allergic to the medication, the medication would adversely interact with other medications that the patient is taking, or the prescribed dose is above the recommended dosage.