I’ve gone the caffeine route before, and it works but only until the crash. The heart palpitations aren’t worth it, IMHO.
I’ve had a subscription to Brain.fm for a bit over a year now. Supposedly it doesn’t work for everyone but I find the act of picking a 60 minute Deep Focus block, probably just as much as the music itself, really helps me keep my head down.