I have GameMaker games running on aarch64 FreeBSD 13.0-RELEASE running natively on the Pinebook Pro, thanks to SleepWalker on the FreeBSD.org forums who made Pinebook Pro drivers and OS images. However to run the GMS games natively on such an OS or target architecture, it requires using software that if I were to mention it here, it would be like telling people to eat at a taco bell while on a Chipotle's property. I also have games running in aarch64 Manjaro (64-bit ARM) on the Rasperry Pi which makes the default 32-bit arm GMS running and 32-bit Rasperry Pi OS look pretty bad while comparing OS performance on the exact same hardware, to no surpise. This should really encourage YoYo to support arm64/aarch64 and drop the armv7 crapola in all honesty, I don't know why they chose 32-bit when they say specifically they are trying to get us to target Ubuntu regardless of architecture, and oddly enough the version of Ubuntu supported by GMS isn't available for the Pi except as a server, not a desktop, which also defeats itself in it's own right having no proper headless support. What a shame...
You could use Ubuntu MATE, but YoYoGames say we should use GNOME instead, when Ubuntu GNOME doesn't and won't exist until they transition to the latest LTS that came out already. We live in interesting times. FreeBSD has a linux compatibility layer but it's currently missing a lot of feature since the upgrade from 12.x to 13.0 that won't be available in RELEASE again until 14.x is out. But I don't use the Linux compatbility layer anyway as the games are built for FreeBSD natively like I previously mentioned. I'm also close to supporting DragonFly BSD, which is amd64 only, therefore a bit off topic. Also OpenBSD, NetBSD, and Solaris ports I'm working on. But I won't share what the name of the software is. I can be found pretty easily if you know what you are doing, but it's nowhere good enough to replace GMS, and likely never will be. If admins think I am sharing too many hints, feel free to remove this post and I'll refrain from posting in topics like this, even though that will mean the user not getting fully correct answers. It just makes me sad because I don't like to see people not get what they ask because of post filtering.