Rigging a robotic arm
Yes it is.
In every IK chain you can select a bone and set some constraints in the IK tab of the bone section of the properties panel. The XYZ constraints are referred to the bone axis, not to the global orientation.