A few months ago I tried a Mojave and a few older versions of macOS in VirtualBox on a 2013 Thinkpad (Hackintosh) and had no problems with booting nor basic things like Finder and other operations with the GUI. I didn't try more graphics-intensive apps, however, but it was actually surprisingly fast and easy to install from an ISO created using the official source download, minus the workaround I needed for EFI booting from APFS. Building an app with Xcode (the reason for doing all this in the first place) also worked decently.