Can we migrate our local machine (OS: windows server 2003 R2) to cloud as an virtual machine on Azure?

If it is possible, how can we capture the image of the local machine, and then host it on Azure?