Unfortunately, you can't create the macOS DMG file on a Windows PC. It's only possible on a Mac computer. That's because DMG, which stands for Disk Image, is a file format used to distribute macOS software and isn't supported on Windows.
To get the macOS DMG file on your Windows 10 PC, you can either download it from a reliable source or create one with a Mac if you can borrow one from a family, friend or colleague.
You can take a look at the article below to get the download link of the macOS Ventura DMG file and learn the detailed steps to create a macOS DMG file on Mac.
Other articles you may be interested in: