Mi9 question

I wonder if I can flash Windows on Xiaomi Mi 9 and use it (with keyboard and mouse)? Is it possible to charge the device while the system is running?

Mi 9 is not supported currently