Can you record player input animation and export into blender

So I’m very new to UE and have been exploring using the software as an animation tool. Hence if I wanted to do a traversal scene, it’s much easier to build a landscape in UE, build in a walking animation and have my character traverse the landscape using user inputs and record that in the engine camera. So I wanted to know if it was possible to record all my character’s actions into one long sequence and then export it back into an animation software like blender.

I know this seems very out of the box, and a lot of work, but the payoff feels worth it in the long run.

Thank you