I had the same idea for Verne, after doing an LFE plugin.
One false assumption I had is that I could somehow implement a custom Erlang behaviour (the ones you define with -callback as you might expect in a plugin SDK) in Gleam.
But that’s not directly possible.
I haven’t looked at the Nova plugin architecture, though.