Yes, many people love exercising while fasting on a keto diet, though you may need to lessen the intensity of your activities if you are a beginner in fasting or have just finished an extended fast.