Disable Ik in bge

Is it possible to enable/disable IK to bones in BGE.
Like when i click left mouse, i can control a hand when
i release it disables it ?

is not very handly enable/disable(depend also how you have saved the keyframe)

anyway yes, supposing that you whant disable all IK and this IK is called IK(default)
you do from the armature obj:


        arm=cont.owner
        for i in arm.constraints:
            if "IK" in str(i) : 
                i.active=False

and to reactivate
active = True