Creating a VM on your local machine requires virtualization using a hypervisor. Windows includes a "type 1" hypervisor called Hyper-V to run virtualization directly on your device hardware. There are also "type 2" hypervisors that run on top of the operating system, like VirtualBox or VMware. If you are using a Mac, the most commonly recommended hypervisor is "Parallels Desktop", though this is a paid service. See Install Linux VM on a Mac with Apple M-Series chip. VirtualBox also supports both Windows and MacOS. See Creating and Running a Linux Virtual Machine for more about how to design and run custom Linux guests on Apple silicon or Intel-based Macs.