Elixir as backend for electron app?

I developed fairly complicated elixir/phoenix umbrella SAAS app, only to realize I choose wrong niche…

Now I can either abandon the whole thing or release it for free as windows/mac software that users can run on their own computers.

Porting my JS frontend to electron is easy, how about packaging erlang/elixir/phoenix w postgres… Is it even possible?

cheers