I agree with Michael. Consult with your physician first and you could always do some upper body workouts. Other than the typical upper body exercises which you can do by using dumbbells, tubing and machines, try to add to your routine some battling ropes (upper body), medicine balls, TRX and punching (as long as it doesn’t stress your leg) as well. Maybe swimming can be another option for you.
I hope this helps.