In that case, I would consider installing XP in a virtual machine, running on Windows 11.
For that
@jimbo45 is probably the best you'll find. He lives for and loves VMs.

He's from Iceland, so he's probably having his 1st cup of coffee, right about now.
Here... read through some of his topic titles...
Topics
Just look for the ones with "VM" in the title.
These are the OSes he's currently running:
Windows XP,7,10,11 Linux Arch Linux
I hate the direction modern Windows is taking. I would love a return to the XP days.
I spend all my time tweaking to achieve something like XP on Windows 10 and 11.
It can't be done. Even IF you temporarily succeed, Microsoft will soon break your tweaks.