It’s possible that (A) smokers are less likely to get Covid AND ALSO that (B) taking up smoking still has more downsides, making it not recommendable as an actual treatment.
Just because A is true doesn’t mean it follows smoking is a useful or recommended treatment. But it might lead to insights that drive future treatments.