Building codes frown upon opportunities for potable water and waste/sewage to mix. Was it double wall with a drain gap?Those exist. Here's one example, though apparently on stop sale for some reason: Ecodrain . I feel like I had heard of another brand a long time ago but don't see it now.
Slightly bigger version for an entire city district: