Obsidian uses Wasm itself, I think I haven’t seen any plugin resort to it though. I don’t know enough about it to give a good answer.
For integration with third party APIs, I don’t see an issue. There are already a lot of plugins that do that, just browse the community plugins.