Yes, smoking can lead to a persistent cough, which increases abdominal pressure and can worsen a hernia. Additionally, smoking can impair wound healing if you undergo hernia surgery.