You can do this already with Cordova, at least for iOS, Android, and Windows. You can compile your cordova app using electron to run on windows. It already runs natively on iOS / Android. I'm not sure about Linux or WebAssembly but for those 3 there is already a solution.