Yes, I was running regularly (1 hour, ~2-3 times/week) before surgery too. I'm running more now :)
Endurance training does help before, during and after such heart-related (e.g. AVR) surgeries. I used to lift weights too but switched to running over the last decade to buy more time before AVR...