I would like to use MacOS in a Virtual Machine. All the ISO's online are sketchy af. I found some old barely functional Mac Mini's from the late 2000's/early 2010's for $50 and would like to know if I can use these dinosaurs to create a bootable ISO of the latest OS X for VirtualBox to use on my main machine (Linux Ubuntu).
If you want hardware specifics from some of them, let me know in a comment and I'll reply with some of the one's I have found.