I've had nearly perfect success using the setup command line argument to install as "server". It says "Server" during the install but that's not what ends up being installed.
This has been patched out[0] of newer builds but a 24H2 install media will still work for an in-place upgrade.
Did you check your BIOS settings to see if you can turn on the TPM? Worked for me on several circa 2018 custom built machines. The builder, Puget Systems, shipped the machines with the TPM turned off. With the TPM turned on, Win 11 installed without undue drama.
This is good advice, I discovered two of my PCs had tpms just disabled at bios level. Though in the end I've got so annoyed with the advertising I've moved one of them to Linux and the other will ditch windows too, eventually.