The only real answer is not to employ nicotine addicts at all but that would take a huge number of excellent pilots out of the system; could it cope?
When I started flying in 1956 smoking was fashionable and a high proportion of the population smoked, which would have resulted in an almighty pilot shortage