Hate to break it to you, but the tea you drank in Peru was infused with cocaine. Not terribly much cocaine -- a coca leaf doesn't have a high concentration of the drug -- but cocaine nonetheless. Cocaine has been used in South America for centuries; it was not until the 19th century that anyone realized you could concentrate and extract the drug, and use a hypodermic needle to get a rapid and extreme effect (this is how Freud used cocaine, as well as the character Sherlock Holmes).
But since drinking tea is considerably less efficient at getting the cocaine into your system, you'd really struggle to replicate a cocaine high from drinking Mate de Coca.
It's more like drinking weak tea.
I didn't realise Freud went down the route of injecting with it, I did know he was a big fan of cocaine though. Wrote a reasonably long essay about why it was such a pillar of the modern industrial world.
But cocaine is extracted from coca leaves. Even a trivial amount in soda would be a problem in the USA.
Wikipedia: " . . . the alkaloid content of coca leaves is low: between .25% and .77%, and production of cocaine from coca requires complex chemical processes.[2] This means that chewing the leaves or drinking coca tea does not produce the high people experience with cocaine.
The process for producing pure cocaine(the powdery stuff) is really just an elaborate extraction process. I think it's fair to say that coca-cola originally contained cocaine prior to the invention of the process to remove the alkaloid.