I might have a solution. I do botanical art (watercolor and graphite), which also demands tee-tiny precise work. I find that after my mandatory and beloved 3 mugs of super strong morning coffee my detail work suffers. Okay, it's impossible. So, rather than give up my coffee altogether, in the morning I study my subject, make my notes, prepare for painting. I leave the fine line and detail work for the afternoon, during which time I go caffeine-free. For myself, decaf isn't pointless because I love the flavor of coffee. But I do understand the energy that one gets/needs from coffee. There is a point where my body switches its "interpretation" of caffeine from energy to jitters LOL. I've looked at other artists' pieces, and admired the clear control of lines and thought to myself, "Wow. That's afternoon work!"
Anyway, good luck! You'll find your balance.