So you could make an arm hold a certain position without a mechanical lock? I've been wondering how to get an arm to drive and hold a position in the vertical without it falling down and without using the window motors. is that what a PID loop does?
Yes. But if you don't have the right motor/gear combination and/or you have a large unbalanced torque load, you will burn up the motor.