We did.
At the time I was an outside only smoker, and my Dp who is allergic to smoke was also Pg with our DD. I did the following, all in the four days where I was mostly staying in the new house & Dp was in the old non-smoking apartment. EVERYONE in the family who used to live in our house smoked (including the 16yr old son). The house was totally carpeted, we almost didn't buy the house because of the smoke smell/brown stains everywhere. Over the course of four days I did the following (we were on a serious shoestring budget as recent grad student/current student/soon-to-be parents).
Day 1:
1.I hired a professonal cleaning company to power wash all walls/carpets
2. opened everywindow in the house and cleaned screens/windows
3. I couldn't afford to clean vents, but took off vent covers ran a vacum attachment into them, as well as hand washing with vinegar/water solution wherever I could.
4. Had a painting party 48hours after wall cleaning in which we painted almost the entire house, and took down wallpaper/borders that the smell had permeated.
By the time we were done airing out the house, cleaning/painting/removing the tar etc. My Dp was able to comfortably live in the house and never had an allergic reaction to the smoke.
On a funny note, About a month after we moved in I realised that what I though were "light tan" tiles on a downstairs bathroom wall were actually WHITE! I was cleaning the sink and sprayed up too high and watched as the "tan" rolled off the tile.

That bathroom wasn't used very by us, and I had run the vent fan for two days straight so it didn't smell funny.
Three years later, i quit smoking and have become very sensitive to the smell. I Never notice it, nor do others in my family who are also smoke sensitive.