If you use mDNS to publish things into .local then you are using it for what it was designed for.
I wrote such a tool:
https://github.com/bertjwregeer/mdns-announce
It allows you to easily announce CNAME's in mDNS to do the sort of dev testing locally that requires alternate domains, without the possibility of leaking them outside of your own local network.