Configuring Multiple Domains with Separate Interfaces on a Nextcloud Server

Development is the wrong category for your question.

What you are looking for is multitenancy. You find a couple of discussions in the forum about it. For example: Support for Multi-tenancy

What you want is more automation, not multitenancy. Multitenancy adds a whole level of complexity to your setup. That’s the opposite of streamlining.