Simple answer: You can't. Godot doesn't track rotation in euler angles, but in Quaternions. It only translates quaternions into euler angles in the editor because they are simpler to understand for humans.
Complex answer: You could try to use a Tween and then interpolate that angle. I'm not sure if the animation player can start tweens though.