The same can be sort of implemented by the custom hosts file but we will need to provide a full scale Admin UI for managing custom DNS records. Look at how Azure UI or Hetzner DNS UI allow that. This is very helpful for local development for example.