Coffee is a drug, in the literal sense of the word, i.e. (Treccani definition):
s.f. [perhaps from the Dutch. droog "dry, dry thing"]. - In pharmacology, any natural product, whether plant or animal, containing one or more active ingredients (alkaloids, glycosides, essential oils, bitter, purgative, aromatic substances, etc.), and which, when properly prepared and stored, finds therapeutic or experimental indications that are the subject of pharmacognosy study.
In fact, the active ingredient that characterizes it, namely caffeine, is present in pharmaceutical products but also in those in the herbal, dietary, cosmetic and pharmaceutical sectors.
Caffeine, for example, is part of the composition of important drugs such as antihemicranics, and it is contained in anti-cellulite or slimming products (with topical use) because of its thermogenic abilities, that is, stimulating the mobilization of fat from adipose tissue and its subsequent oxidation. Caffeine is also present in draining products because it promotes diuresis by reducing water retention.
Because of all these characteristics, coffee can be considered a drug, but only in the literal sense of the term ... although some people during the day do indeed "abuse" it by drinking many cups.