in a audio book I have called "the Will Power Instinct" by kelly McGonigal Ph.D says research has found exercising will help. Also mind fullness training.
But one thing you should also look into is how you are sitting.
As strange as it sounds your fatigue can be caused by poor body positioning while sitting. Which is common for keyboard jockeys.
The best resource to look into is the alexander technique.