I think most people have good and bad days. As you become more proficient, the bad days tend to be fewer and less severe, and you can compensate so the listener doesn’t really notice a drop-off.
As for diet, rest, and exercise, they’re all important to help you play better, but the effects (good or bad) are more cumulative than immediate. Being relaxed while playing goes a long way, too.