Coca-Cola uses actual cocaine plants (coca) that have had their cocaine removed. The Coca Cola company has an exclusive monopoly from the US government to import coca plants for use in their soft drink. It's why copy cat products can't taste identical.
"Today, that extract is prepared at a Stepan Company plant in Maywood, New Jersey, the only manufacturing plant authorized by the federal government to import and process coca leaves, which it obtains from Peru and Bolivia."
I'd kill for an open source Spark Mtn. Dew recipe, My (autistic) partner has been deeply distressed ever since they announced it was being discontinued.
I know it's not something everyone can afford to do but - When a drink I liked seemed like it was going out of production I paid a food scientist on Fiverr to reverse engineer it. Worth considering.