Creating a VM as a test to move to a physical machine

I’m wondering if it is possible to create a VM get everything set up and working and then move that VM to a physical machine.
I currently have a windows based Plex server set up and running how I want it but I want to use that PC to run home assistant and have Plex, radarr, sonarr and deluge run within home assistant. My plan was to create a VM and get all that working so that I don’t loose the functionality of my current system. Is this possible to do and has anyone had luck doing or could point me in the right direction of some kind of guide, my google-fu is failing me.
Thanks heaps

First thing first: What installation type are you foreseeing?

If it’s HAOS, unless you want to dedicate the physical machine to it, a VM is basically your only option.
If you plan to keep Windows on that machine, then a VM is basically your only supported option whatever your installation method…

Yeah I was planning haos as the core and I saw that you can run Plex within that through docker. I just want to test it all in a VM first so I don’t ruin my current setup for nothing