Yes!

It is safe for your dog to have pineapple. A small amount of pineapples (flesh only) can make a healthy snack for dogs. Just make sure to process the fruit before serving