The first question is, why would one want to do this? The answer is usually because one wants to experiment with the installation of a major piece of software that could have unanticipated side effects on one’s main installation of macOS on a Mac. Parallels’ example of multiple VM’s, running on a Mac’s desktop.