I imagine DAWs like many others could be a very small native audio processing binary with a gui on top that can be whatever it wants. Some are already Java UIs over C++ backend (e.g Bitwig). Should be possible to do an electron or web frontend over the C++ backend too. Replacing the processing bits will be hard though. Driver interfaces aren't exactly the strong point of web dev.