At least with caffeine I would approach it with caution similar to marijuana. Dosages above 300 mg/day are shown to have negative health effects. In general it is fine. Marijuana is also generally safe, but can have negative effects if you take too much or use too often.
People rarely refer to theanine as a drug. It's more of a dietary supplement (food). It's an amino acid.