The used car I purchased this summer had a smoke smell in it so I gave a Dakota Odor bomb a shot. It was not a good experience.
Basically how it works is you press down a tab, and it locks in place to continuously spray. Along with the fog the can emitted, it also covered my seats and center console with a wet foam. On top of that, the foam hit my headliner directly above where the can was. To this day I still have a stain on the headliner despite trying to clean it several times with Woolite and upholstery cleaner. Finally, and perhaps worst of all, the smoke smell remains.
It does have a decent smell, but feels kinda harsh/nasty when you breath it in. This persists for a few days and gradually fades over time.
If you still want to try it, I would suggest you cover everything around it with thick towels. Probably though your best bet is to try multiple thorough cleanings of the whole interior, and maybe have the cabin air filter replaced (I intend to try that in the near future). Also use the search function on here to find other suggestions.