Closest I can think of is flywheel "battery" storage tech many of which do have magnetic bearings and also some way to get power in and out of the flywheel so basically a motor. It's not exactly what you're looking for but there's prior art out there.