Pets are usually associated with longer life and less disease. Heavy smoking is not.
Personally, I'd prefer a pet to a whiny human any day, but talking strictly about risks pets are way up there, several times the risk posed by shs in even the most skewed studies.