I agree that it will be extremely difficult to permanently remove cigarette odors. I did on a car I bought, but I had the entire interior out of the car including the carpet, scrubbed and power washed everything including the cloth seats. As for the headliner, I did a hot spray & wet-vac on it. The car turned out great but not sure it was worth the effort. The right decision would have been to buy a different car.
On a motor home, you have to thoroughly wash everything. Fabric and carpet will need to be replaced for best results. A fabric ceiling might get damaged from all the hot water rinsing required.
Like others have said, there are health risks that will linger as well.....more than just the smell, some people get sick. Just ask my sister-in-law. Trying to describe it, it's like a different flavor of a mold problem. It takes a lot of determination and care to be successful.
It's kind-of like the story of "The Dead Body In The Trunk Of A Cadillac". But in that case it is totally hopeless.