Why would you want to do this? It doesn't make it faster than JavaScript. You'd still need to interface with JavaScript Web API bindings, which means you'd need C++ bindings to JavaScript bindings, which... use C++...
You can _currently_ do this without WebAssembly, but there's zero point to it.