No they were being censored and bullied if they believed or led their patients to believe it is an effective treatment.
My Uncle had a patient dying yelling he didn't have Covid whose family doctor's only "treatment" was to prescribe them ivermectin.
It's not illegal, but I don't want that doctor.