It doesn’t appear to be possible. The Vmware version that supports the latest Windows 10/11 won’t support a host system older than Windows 8. The same applies to VirtualBox.
The usual issue with that is that the modern OS requires drivers for the virtual devices and if you get a modern version of Vmware it won’t run on Windows XP (kb.vmware.com/s/article/90060) if you get an older version of Vmware that does run on XP it won’t have / be compatible with the drivers required for Windows 11 to work.