Default [Q] Emulating android

Is there a way to emulate android on my desktop pc.
The thing is i have a game and it asks me to get people to register in the game with a special referal code to get rewards. And if it is posibble to do it in my pc and get those rewards.