I am not sure about your question. In fact, developers can create Andriod Virtual Devices(AVDs)in the AVD Manager on their PC in order to test or debug their Apps on them.
The task is to run the OS of a Android phone on a PC. Maybe by creating a clone or disk image of the android, just like you can clone a Windows OS from one PC to another one where all files, settings, installed programs are intact.