Seems that Mario Sunshine is emulated on the Switch as part of the Super Mario 3D All Stars, would this mean that the emulator can be reverse engineered/ extracted and released as homebrew?

That's amazing thanks for sharing!!!Developers are looking into this.
Check these threads.
https://gbatemp.net/posts/9200316/
https://gbatemp.net/posts/9200254/