Why risk it? It’s not safe for 6weeks minimum… I really wouldn’t. Take up a hobby or something if you can’t stand being busy at thee gym, something that will occupy your mind but keep your body rested and able to heal.
As long as your eating sensibly there’s no need to excercise after your op, it’s just a disaster waiting to happen IMO.
Xx