Limit rotation in last IK bone

Hi,

Same kind of question here (Complex Armature-Biomechanics - #2 by Melodicpinpon),
I want to limit the rotation between the foot and the shin, the hand and the forearm, the leg and the hip:
https://pasteall.org/blend/ce51520c8fac41e3bafba56c7b2854f5

Isn’t there any way to limit these rotations between the first/last bone of an IK chain and the next one, belonging to the FK system?