Yes, absolutely. Dogs, cats, birds, wildlife - this food grade based dye is safe to be used for drink.
Although, if your dog often drinks pond water - be aware of Blue Green Algae https://www.bluecross.org.uk/pet-advice/blue-green-algae-and-its-dangers-dogs