There's a script linked in the post that downloads the installer directly from apple.com. Of course then you have to go through the install process yourself.
Can you use this as a development environment, or would you need an Apple ID?
1. https://github.com/foxlet/macOS-Simple-KVM/blob/master/docs/...