How to control DC motor with Arduino UNO using only a transistor without a diode

If you don't use the diode, the transistor will be very quickly destroyed. They are extremely cheap, and can be harvested from a PCB from discarded electronics.

See Flyback diodes and why you need them

You will have much better luck with a motor driver, like this one (for small hobby motors).