@PaiSand is right, wrong forum
But... To get you started (all things for you to research... I'll point you in the direction, but not provide a dissertation)
- beware thermal throttling, especially on laptop's optimized for battery life, not performance
- real-time video encoding is VERY computationally demanding. But you are planning to run 2 operating system on a laptop, making load even higher (increased likelihood of hardware resource constraint... be that CPU., GPU, RAM, etc). Mind you, I've been using VMs for over 20 years, and love them... but not for a beginner... you definitely need to learn about Resource Monitoring (I believe called System Monitor on MacOS), for which there is an entire art
- The issue with VMs is 1. Resource constraints (easily enough to overcome with sufficient hardware/budget and appropriate workload), the other is GPU and other support inside the VM
It is entirely possible to run OBS Studio just fine within a VM. As free open-source software, there is no guaranteed support anyway, so if you have the expertise to optimize your workload, all Operating Systems, and OBS Studio settings, understanding a lot of technical concepts, have at it. You will also need to understand the GPU implications with various remote control techniques/software/codecs. Being successful means paying attention to a LOT of details all at the same time.
What running a VM does NOT do is give you more resources (CPU, RAM, etc). You have to know what you are doing or things won't go well (how badly can things go wrong ... depends). An example of what NOT to do in a VM ... run some demanding workload (game, real-time video editing, AI/ML, etc) that would max out (or come close to bottlenecking resources at host level) , then add something like OBS Studio on top of that, plus other Host OS workloads.
Now, if you simply are running something in a VM (any OS) typically Host Operating System (Windows, Linux, MacOS) have native tools for simply recording the screen (and those tend to be lower demanding processes). You could then take that recorded screen capture and video edit it with overlays, audio, etc... Depends on what you are trying to accomplish.