Adding magnets would be pretty easy, since it would use the same code as gravity. The problem is, it would make the game run slower. This would be great for a mod.
The ultimate problem isn't even performance, or accuracy and function, but simply that no one can be bothered to create it, and what few people have haven't made a version of it decent enough for official release.