Dogs can eat popsicles as long as the popsicles do not contain the dangerous additive xylitol which is a sugar alcohol that's toxic to dogs.
Never give your dog any sugar free popsicles because they contain the xylitol additive which is toxic to dogs but not humans.
It's basically an artificial sweetener that can kill a dog so make sure that it doesn't contain any xylitol and the dog cane safely eat the popsicles.
If you make homemade popsicles then you know what ingredients you put in them and they will not contain any xylitol so the dog can safely eat popsicles.