This argument is bad faith - there is a hugely important public health imperative for doctors not to peddle quackery. COVID disinformation led to a staggering loss of life, and no doctor should be permitted to participate.
But such laws make things worse. Now, when doctors claim something is safe, they can be dismissed with "they'd go to jail if they claimed otherwise".
What "disinformation which led to staggering loss of life" do you have in mind, specifically? The vast majority of high risk groups for SARS-CoV-2 were fully vaccinated very soon after vaccines were made available, so (assuming their protective benefits were actually all they have been cracked up to be) there couldn't have been some huge impact of "disinformation" there. There also couldn't have been a "staggering" additional loss of life in the less vaccinated lower risk groups because COVID wasn't a particularly lethal threat to them in the first place. And the vaccines had marginal-to-zero ability to reduce infection so any question of lost herd immunity is out the window. Is there something else I'm not thinking of that you have in mind?
Sure, but eventually the “public health imperative” demands they all peddle quackery. And your comment that “COVID disinformation led to a staggering loss of life” is disinformation itself.