First the good: both the Magic Mouse and the Magic Keyboard now come with USB-C ports. That's right, the Lightning cable, which used to also charge iPhones and iPads until the EU ...
The short answer is yes. Android phones have relied on USB-C charging for years at this point and frequently come bundled with an appropriate cable. In fact, they often charge faster than iPhones.