Yes, that would work.
But there is a simpler way that only requires a USB stick. With the "Media Creation Tool" from Microsoft, you can create a USB stick with which you can also install Windows 10. After the installation, you can delete the USB stick again and use it for other things.
https://www.microsoft.com/de-de...