It's totally possible to do this in Electron. I've used plenty of Electron apps that were simply ripped off MacOS and dumped on Linux (Kitematic, for example). The entire Mac-native UI works perfectly fine on Linux, the only issue I ran into involved some Mac-ified ini files.