Not on Windows 10 and later you can't. Also good luck setting up and running a virtual machine through an application like VM Ware with XP on it, you have to run through a bunch of hacks to to get it licensed. It's a headache and a half.You can Download and run it on Windows XP_Mode from MS for free. Essentially, a Microsoft Virtual machine of windows XP. Also makes it portable to other computers.
Just an FYI. I run this setup for my '09 CC eBahn