What you're describing sounds an awful lot like Flutter's architecture to me, which ships the rendering engine + code as native ARM code to any supported OS. Currently it targets Android, iOS & Fuchsia, but support for Windows and MacOS is in the works; the only requirement for the OS is that it supports OpenGL.