You can do it through induction. Same principle makes induction motors and car alternators able to convert power <==> motion. You have a vacuum cleaner? Chances are is uses an induction motor.
Changing field moves electrons in conductors, yeah you can transfer power. That said, you want your electromagnets and coils to be as close as possible and no, you won't get the efficiency of direct contact, be lucky to get 70%.