Hey there!
You could potentially, with Doctor’s blessing, lift some light weights and do some work with resistance bands. Conditioning your smaller, stabilizing muscles is very important, and once you get back to dancing and your workouts, having them being strong will definitely help you return to strength without injury. You can also work the larger muscles this way as well- it’s quite versatile.
I would recommend being very careful, though, and taking your time!