Lemmy devs are working on #WASM based plugin system: https://github.com/LemmyNet/lemmy/pull/4695