Ozone air purifiers are good for cleaning the air, but if there's a substance in the vehicle causing the odor, the smell will just return.
In the case of a stinky hvac system, the stink is caused by all the crap that's growing inside the evaporator, such as this stuff:
That stuff needs to be cleaned out as best as one can without ripping the whole dashboard apart to get the evaporator out. And no amount of ozone filtration will remove the smell of the bacteria floating around in the cabin.
I worked with a shop that did ozone smell removal, and while the system worked okay, it was completely ineffective if the source was not eliminated. Thi meant carpet shampooing vomit, animal urine, spilled foods/drinks, etc. And, even with good amounts of carpet cleaning, I think animal urine was the worst and the stench would only return when the vehicle got hot and humid.
The OP is trying to remove the smell of cigarette smoke, which is literally in every nook and cranny of the a/c system, including every vent tube. The foaming action cleaners will "wash" the tubes out and remove the tar that's coated all the tubes and fins, and a few days later with the heater running (or fan if its warm where he's at) the smell will be almost completely gone. The ozone filter will be a good followup after cleaning the system out.