Asking around some more I came to the conclusion that one should stick to client-only-use with Next.js. I guess something like Elixir/Phoenix with LiveView is the closest thing to my preferred structure/architecture.