The Rambam wrote that a healthy body is of Hashem’s ways, and physical activity is a means, not a goal. A woman who exercises must keep the fences of tzniut: a place without men, modest dress, and careful music. Walking in the street should not draw attention, and bathing is only in a place for women, with the needed covering.