There shouldn't be any problem running Xamarin in a VM in general (though it's not clear what you mean by "running Xamarin"). If you're running into a specific problem you should ask about that directly in the Xamarin forums at http://forums.xamarin.com
.