That's what I do. Years ago I started getting up early to treadmill/crossfit before I got ready for work, and it was fantastic for me. I wake up early enough to sit and drink my coffee, and the exercise and shower before work seem to clear away the fog. I get to work wide awake and ready to go.