When I read "it helps with this" "it prevents this", I always ask "but at what cost". Can an exogenous molecule that was so adaptive be missed this bad and now consuming it will just fill that gap we had for millions of years?
Let's not kid ourselves. Concentrated caffeine is a drug and not a nutrient. We drink it because it is psychoactive and we habituate to it. Try drinking redbull as a caffeine-naive person or not drinking coffee as a daily drinker. If an exogenous substance is that potent, it is a drug. (Even though I like it myself too, it is also pretty shit of a drug in my opinion, with 5 hr half-life, a dice roll every time whether it is gonna create more sleep than focus and a steep tolerance curve.) Magic mushrooms also have nutritional value, nicotine also has some benefits, beer has tons of calories, they might even have adaptive value with occasional use. You might enjoy them, you might drink coffee everyday. That is fine. But they are all drugs and not nutrients.