Yes!

It is safe for your dog to have coconut. The flesh and milk of the coconut can be eaten. However, too much coconut can cause stomach upset and diarrhea.