Yes, it is okay to get some exercise done during a fasting period. However, you can do well to keep the exercise light in order to conserve energy.