Yes, you're more vulnerable to disease when you are living an unhealthy lifestyle. Shocker.
Please define "unhealthy". This is a higly ambiguous term, and its definition differs a lot between cultures and across time, therefore it is far from obvious what living an unhealthy lifestyle means.