Yes, you can install Windows 11 in a VM. In fact, you can create a virtual TPM in a Windows 11 virtual machine that will satisfy the hardware requirements of the new operating system. On a Type 1 (bare metal) hypervisor like Microsoft's own Hyper-V, you'll be constrained by the same CPU requirements that govern installations on a physical PC. On a Type 2 hypervisor such as Oracle Virtual Box or VMware workstation, you might be able to spoof that requirement, but the effort is probably not worth the risk.For detailed instructions on how to set up a Windows 11 virtual machine using Hyper-V on Windows 10 or Windows 11, see "How to create the perfect Windows 11 virtual machine."