Like Windows applications, you'd need a compatibility layer. For Windows applications, that is usually done with WINE. For MacOS applications, that's usually done with Darling.
I have no experience with Darling, but here's a URL to get you started:
Run macOS VM in a Docker! Run near native OSX-KVM in Docker! X11 Forwarding! CI/CD for OS X Security Research! Docker mac Containers. - sickcodes/Docker-OSX
On older releases, they used to use DVDs (Snow Leopard on back)
Now only on the Mac App Store. Once you upgrade, you typically can't roll back too easy without flashing again
Not open-Source however, but does use heavily modified BSD/Alternitives.