Lie with your feet on a ball.
Put downward pressure onto the ball and push the ball away from you. Then bring back in.
Engage the core and glutes to use the hip flexors less.
Make sure ribs are down, back is in neutral and toes relaxed.
Its a slow journey to regaining full fitness after an injury. Patience is key.
With thanks to Tessa @theliftingphysio