Toggle IK Pass through code

Is there a way you can enable and disable IK Pass in the Animator Controller through code?

I believe it’s not possible.