Факт тут один - манипуоировать DOM-ом из wasm - это ни кому не нужный костыль, и пример маргинальной либы на C++ ни каким образом этот факт не меняет. Впрочем, что с тобой спорить. Ты же слышишь только себя
Как "ни кому не нужный" пересекается с тем, что говорится в документах?
https://developer.mozilla.org/en-US/docs/WebAssembly/Concepts:
The web platform can be thought of as having two parts:
1. ...
2. A set of Web APIs that the Web app can call to control web browser/device functionality and make things happen (DOM, CSSOM, WebGL, IndexedDB, Web Audio API, etc.).
> By itself, WebAssembly cannot currently directly access the DOM;
> Note: There are *future plans to allow WebAssembly to call Web APIs directly*.