How does a stepper motor turn into an encoder? Well ... Of course, an Arduino reads the pulses. We love using things for unintended purposes. Speakers and microphones are often interchangeable.
Building a 3D motor printed motor is one thing, but creating a completely custom servo motor with encoder requires some ... test stand with load cell and Arduino. Like other PCB motors it produces ...