Windows 11 is optimized for newer hardware - faster SSDs primarily, but also the rest - and most machines I’ve seen struggle are because the manufacturer cheaped out somehow.
I have three machines running Windows 11, and a building full of them at work that I am responsible for, and they run great. The only one to give problems was a machine that had Windows installed on a spinning rust hard drive, which Windows is not optimized to run off of anymore. After installing a NVMe drive and reinstalling, it runs smooth.