If you don't want to go through the hassle of installing and then upgrading I'm also pretty sure you can upgrade one of the images in the wim offline using dism.
0: https://www.microsoft.com/en-us/software-download/windows10 (will serve you an iso directly instead of the media creation tool if you give it a linux user agent)
1: https://learn.microsoft.com/en-us/windows-server/get-started...
I do work on my windows machine, so doing anything illegal just gives me the opportunity to lose 1000x more money than if I just upgraded legally.