The short answer is yes, granted you have all of your networking requirements/definitions/DNS sorted out.
I see no benefit to this architecture, mixing cattle and pets together. I would nudge them toward 100% Docker Compose or Kubernetes operator, based on scale requirements.
Nobody ever cares where/how you run those servers (thanks to abstraction in VM/containers/hardware…), as long as they can be set up running and connect to each other.