We know that whoever drinks intoxicants is the person who Allah will not accept the prayers of 40 days. There isn’t to my knowledge any hadeeth covering eating things that the punishment would be the same.
As for smoking, it is a sin but we can’t say that it shares the same punishment as intoxicants and wine because we don’t have any evidence to prove that.