Thanks for your patience Ekan.
The setup I’m looking for is very similar to the movements of the legs of this robot, proportions and the robot are differents but the mechanics is basically the same.
As you can see the whole leg is rotated by the first motor in Y only, then the other two motors extend the leg using Z or X axis only, depending how you see it of course.
I’d like to control the leg movement with one IK handle* on the tip of the “foot”. I think that in this way I’ll be able to move the COG also, while keeping the IK handles in their places.

I don’t know is this is the right way to rig something like this, I just started learning to rig and it’s an exercise for me.
- edit: instead of “one IK handle” let’s say one controller, I think it’s more precise.