Inverse kinematics with ROI - virtual wall

I am trying to calculate IK when there is a moving virtual wall that the arms are not allowed to pass, how can this be done at runtime?
Joint_limited provides once in off-line mode.
ros1 - noetic.

That sounds like something that could be achieved using MoveIt!