I made this basic animation by rotating the pelvis and clicking create new animation from current pose. Then when I put this into the basic third person animBP with foot IK, the foot IK rotates the feet to the center and twists the legs like this.
I am using the basic foot IK that comes with third person template. The same happened when I tried to make a custom animation with control rig level sequence.