Which framework? IIRC, they use the Electron framework.(https://www.electronjs.org/blog/electron-11-0)
Squirrel framework, Reactive Cocoa framework , and Mantle framework. All of which is built by Electron I believe as Squirrel hasn’t moved in years, Reactive Cocoa is moved to Reactive ObjC.
These are all open source frameworks, should be doable with little effort, and the Electron framework already has a distro so you don’t have to build your own.
iOS apps run on M1 as well, no emulation, as long as it’s available to the Mac App Store. There might be other dependencies. The IOS app is in Beta now, IIRC…or some app is in Beta. I didn’t sign up for it, but making it available for testing would be a good idea to play with. Might be a good idea to have a limited beta for the new Mac.