In the midst of a pandemic, it was never right to demonize people for attempting treatments with medicines previously established as safe for human consumption. Both hydroxy chloroquine and ivermectin had reasons they showed promise and have doctors around the world still prescribing them as covid treatment out of belief they work. If a doctor prescribed me medicine, I would take it. I don't see a meaningful difference between the anti-vaxxers and those demonizing attempted treatments.
Let's leave aside "demonise" as a loaded, weasel word. "Criticise" is better.
I can get doctors feeling overwhelmed, frustrated and desperate. It is at some level fine that HCQ and ivermectin were doled out in the hope they would do anything useful, and particularly when under intense pressure from patients and governments. Many doctors will have limited knowledge, and be reliant on government guidance, word of mouth, etc. and I can understand many just reading that others were doing it and thought they may as well too.
But on the other hand, medical doctors also have a professional responsibility to pursue good treatment. I cannot help but point out, not least because I teach pharmacology to medical students, that drugs (even "safe" ones) do harm, and there is a basic medical principle to not do harm and limit use of drugs. (That is part of the point of prescriptions, after all.) Elements of HCQ, ivermectin, quercetin etc. were more akin to mass hysteria and bandwagon jumping than the reasoned and evidence-based processes we should expect medicine to be. From a systemic point of view, this was a huge failure in the healthcare sector during covid.
So as individuals I might give a broad pass to many tens of thousands of doctors worldwide who loaded up patients with probably useless drugs.
However, we absolutely can be intensely critical of a select band of physicians whose advancement of unproven and quack remedies was reckless and incompetent. These would be people like Pierre Kory and his buddies in the FLCCC, various authors of poorly designed meta-analyses (who as far as I can see were far from without ideological biases) especially because of their contribution to the rash of ill-founded prescribing across the world. When we then get to "America's Frontline Doctors" it's even worse: people who sold out their professionalism to political ideology in the blink of an eye. All these people richly deserve their place on a rogue's gallery of the medical profession during Covid.