You’ll need both the Windows 11 and a Windows 10 ISO. In the Windows 10 /sources folder, remove install.esd. Then copy everything else in there to the extracted Windows 11 ISO’s /sources.
That is, you want to have the Windows 10 installer files, but the Windows 11 install.esd.
See instructions… https://youtu.be/5rDJyMXbPdE
This allowed Windows 11 – the leaked build at least – to install and run on an XP-era system.