As far as I am aware, the fact that you are a smoker will not be held against you for ESA, DLA or PIP.
When it comes to PIP, it will depend what else you say. If you claim that you cannot learn new tasks, due to cognitive or mental health issues, the fact that you drive could go against you, for instance.
Nothing on this board constitutes legal advice - always consult a professional about specific problems