Sounds like an interesting project!
I'm not sure you would need any help from emscripten to try and do this kind of thing.
You can access the WebAssembly module's memory from JavaScript via `Module['memory']` and then do whatever you want to it including passing it your AssemblyScript.
The tricky part is how you manage memory within this shared heap. At the very least you would want to tell AssemblyScript about the limits of the heap, and maybe even pass the emscripten modules `malloc` and `free` functions over so it can coordinate with emscripten-compiled code.