Yes. You can name your dog in Minecraft. For this, you will need a nameplate which you can find by looting the chests such as woodland mansions, dungeons, temples, etc. Or it can be obtained from the librarian villagers by trading and fishing.