Yes raspberries are safe and okay for dogs to eat when in moderation.
Raspberries are very nutritious and healthy for dogs and raspberries contain contains antioxidants which are great for dogs health to help detox the dogs body and help prevent kidney disease and other problems.
Raspberries are also great for dogs who have joint pain and especially for dogs who are older with inflamed joints.
The anti-inflammatory properties that raspberries have can help alleviate joint pain in both dogs and humans as well.
So even humans should eat raspberries to have better health and you can also feed the raspberries to your dog as well.
You both will have much better health when eating raspberries.