There are plenty of advanced robot arms on the market that can teach you a thing or two about coding. They are not always cheap though. This 6 DOF Robot Arm with Raspberry Pi Pico is fairly affordable but comes with everything you need to get hands on experience. It comes with a servo driver, 5V power supply, 2 servos, and everything you need to get started.
This robot is driven with 5 x MG996 and 3 25kg servos. It can be programmed in MicroPython.
[HT]