Yes, amazon gives you the liberty of using your own customized machines. Amazon provides you with a wide range of systems that are predefined. You if needed can create your own custom machine or if you want can also use the machine that you are using. You can migrate the machine to AWS.
Here is a detailed explanation on how to do that :- Implementing Migration Using Import/Export method
Hope this helps.