They can, but it’s much too salty for them if they get more than a smidgeon of it… which is a bit of a tease. Too much salt is harmful to dogs and cats. Sugar isn’t either. Get some extremely high quality organic yogurt with at least 5 or 6 distinct live organisms and give your dog a huge mouthful a couple of times a week if you want to offer him a “gourmet” treat. Alternatively, a little amount of cottage cheese, kefir, or a few slices of cheddar, Swiss, or other cheese can be used. Carrot, sweet potato/yam, strawberries, and banana are all beneficial for dogs, and a few slices/pieces of each are OK. I had a Doberman Pinscher that liked carrots and would gnaw on enormous portions of raw carrot. A few of our German Shepherds and Dobermans used to take cherry tomatoes and strawberries from my vines and devour them.
In terms of saltiness, it’s maybe a little too much.
Though it’s difficult to envision someone feeding their dog huge cupfuls of caviar, don’t.