An alternative is Optimize-Offline[0] which uses deprovisioning to remove packages from a Windows install ISO.
This is a method which mimics Windows' official methods which should prevent things being re-added when updating.
There are also tweaks to remove the TPM requirement and allow Windows 11 to run on older unsupported CPUs.
[0] https://github.com/gdeliana/Optimize-Offline
Edit: To mention there is also an option to bypass the online account requirement.