Here's a study on Caffeine. I haven't read it all the way yet, but so far the effects are not nearly what nicotine is. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5445139/
As for sugar, that's an interesting debate. Sugar is pretty bad for you. The short answer seems to be that sugar kills more people than tobacco and nicotine and lots of other things. But sugar comes in many forms and is hard to regulate, I guess. It's a tough one for sure.