Exercise can help you quit smoking. And quitting smoking can improve your exercise and sports performance. If you crave a cigarette, go out for a walk or run or bike ride instead, and let the craving pass.
If you can't quit cold turkey, try a fitness break from nicotine. One week of not smoking doesn't allow your lungs to recover from the effects of smoking, but it does improve your muscle fitness and exercise performance. And that may make it easier for you to quit for good.