I am truly curious, if a simple motor could be built with magnets.
If you are truly curious, you can put a proportionally truly effort in studying
existing motors.
The first page on Google won't transfer you to a list of decent literature and study books on the topic, at least not with a short search term.
I can give you a tip: Lookup what books of what autors are used by universities. Most of them cover multiple AC and DC motors, and explain differences between them, in construction, use , performance and rendability.
Some words you will bump into are induction motor, bldc, slipring, synchrone motor, servo, steppermotor, and so on.
If you have the right prior knowledge about math, physics and electrics, then after only 100 hours of dedicated study you will understand the basics. Then it's time to deepen out, or to see if you can change or invent something.