It can also induce diarrhoea. And taking substances for performance enhancement is essentially doping (as in: not permitted for most sports).
But it's not on the WADA banned list so you are free to try it.
Caffeine is also an ergogenic and is not banned by WADA, either in or out of competition.
Wearing corrective lenses improves performance. Is wearing glasses considered doping too?
So it's not really obscure and doping only matters under those terms. Outside that scope whatever you use is on your conscience alone.
See also danburbridge's reply to GP.