Yes. The difficulty is that the more joints there are, the more possible solutions there can be.
I see, but are all valid?
I have the feeling my hand/arm works like this and always does it the same, probably so the least work is required?
Our arms have an entire subspace of possible solutions (you can move your elbow around while keeping your hand in place). In robotics, there are a couple of measures that can be minimized/maximized while computing inverse kinematics. Work is one of them but also time to reach the goal configuration or its "dexterity" for moving on in a future command.