You “can” do it using the built in static dns entries… and you can tie it to DHCP using scripts. But it will never work like dnsmasq or bind or anything like that. The DNS server in routeros is pretty limited.
You could just manually put in all the entries you want though.