I think your hypothesis is correct but your reasoning is wrong. Few people are morbid enough to think "Oh my life sucks so why bother looking after myself". But if you're constantly stressed because you're struggling in life, small indulgences like smoking, alcohol and fast food/sugar are a lot harder to resist as they provide a much needed outlet/release.