This is something I have often wondered about.
Is it theoretically possible to build a motor powered only by powerful permanent magnets? I have never heard about it being done, but it would seem, on the surface, that it would be possible to harness the power of the magnets to do work. If not then why?
Not an easy answer - there are volumes and volumes of stuff talking about it. well, not that specifically, but, the physics behind ideas like that (I think what your talking about is perpetual motion)
But, I'll attempt to at least attempt to get something down that may help answer... it won't be 100% well stated because while I am a mechanical and composite engineer I haven't been in physics classes for a long time, my brain is mostly clogged with bong resin and malted hops, and I'll have to over simplify to answer before tomorrow comes (maybe someone else can do it more poetically) ....
Well, to get the permanent magnets to do work you'd need to provide something either to turn their poles (well, move them physically more practically...which would probably require more work than what they'd output).
But, a speaker, for example, works by using an electromagnet (so one magnet is a permanent magnet and the electromagnet is the coil where when we apply current from our amps it magnetizes metal around it, alternating from the positive to negative, creating the field which causes the speaker to move back and forth how we want it to). So, the input is the electrical signal from your amplifier.
Permanent magnets you could move around eachother, but there has to be some 'input'...since your trying to get work, you'd have to find some kind of source to convert it from.... wind, tides, petrol with a gas powered engine, whatever....because we can't /make/ energy, we can only transform it.
But, as far as I know, there would be no way to have just two magnets sit next to eachother and do 'work' (like move something, or power something, etc.)... because that would violate what we call the first law of thermodynamics: which is that energy in a system must remain constant.... or, energy can't be created or destroyed...it can only be transferred.
How we do 'work' (move, rotate, etc.) now is we get some amount of energy (potential energy) and then convert it in some way that is useful to us. But there are losses when you transfer energy. Like, an engine in a car is only about 15-20% efficient in transferring energy from the source (fuel) to the work (moving the drivetrain). (actually the most efficient mode of transportation energy wise is a bike hehe - like energy needed per distance)
It also would violate the second law of thermodynamics, which is a little more complex to understand, but it's basically that usable energy decreases overtime, or that chaos/disorder increases (we call this entropy). Entropy is a little harder to describe, there are mathematical ways to think about it and there are physical ways to think about it. Basically, it's the amount of disorder something has. This always increases.
I know that's getting a little sciency, but basically what I'm saying is that in any motor or way to create work, we can't make something from nothing. We have to put work in. When we talk about things like engines or motors, they aren't actually making anything, they are only transferring energy in one form to another...and they can't do it 100% efficiently, and when we do it, some disorder occurs from that. Because chaos/disorder is always increasing (entropy is always increasing).
To speed this up and prove it to yourself, you may have noticed that dropped magnets become less and less powerful. That's because when they are dropped the molecules on either pole and pushed in the opposite direction and eventually reach equilibrium.
Finally, the energy to get something magnetized also has to be accounted for.
(Yes, physicists talk about chaos increasing continually).
Now, THAT SAID, hehe... there are physicists who are looking for how to create perpetual motion...that is, something that violates the first and second law of thermodynamics.