This process is called a clean install, which is ironic as there's nothing particularly clean about it: Microsoft has enshittified Windows Setup.
If you're building a new workstation or gaming PC or acquired a device that doesn't have an operating system, you will have to install Windows 11 manually. Although if you have never done it before, ...