Though a pulley system is possible and may offer advantage for motor count, it increases complexity and failure modes.  However, The use of range of motion limits as joint projections to define maximum extension will allow for current spike detection and automatic calibration.