Working out while stimming

Can you exercise while stimming and also swim??