Haven't tried this, but potentially taking the entire Win10 or 11 ISO, and replacing only Install.wim/esd with Win7 one, maybe.
AIO ISOs work with that fact that setup/boot environment will deploy any image you give it.
Make sure to delete, if there, the \sources\ei.cfg file.
You can convert Win7 WIM to ESD by right-clicking it (before loading) on the Image page and choosing Convert - ESD.
Alternatively, similar by using the newer ISO files, but once booted to the disk selection, press Shift+F10 and use DISM to Apply the ESD to the desired partition.