Is it possible to create a stepping power supply switched with transistors?
I think your answer may make intuitive sense but there are some other ways you can get speed control of your electric motor. I've drawn one here as an example:







simulate this circuit &ndash; Schematic created using CircuitLab

I am not proficient in circuitlab but you can see I have an EMF-absorbing diode, a motor (I represented this with an inductor), a resistor, and a voltage source.

You will use PWM to vary the motor speed. Your voltage source should be equal to or less than your motor's rated voltage. I am unsure of the diode's specifications.

Try to think of the NPN transistor current flow as being from the collector to the emitter. It is not very much like a switch in my opinion. The reason my transistor looks different is because it is in a Darlington configuration which lets you use less current to turn the transistor on.