Oh yes of course that’s the cheapest option and probably good for most use cases, in my specific case I was thinking about a Mac Mini because some of the proprietary SW that I use (Adobe Suite, Ableton Live) probably wouldn’t run very well in a VM (but I may be wrong and I will of course test before spending money)
Edit: besides the VM, I hear Wine supports many apps nowadays so it’s worth trying as well