Yes, dogs can eat broccoli.
Dogs can eat both cooked and raw broccoli, as long as there are no seasonings or oils added.
However, this vegetable should always be given in very small quantities, especially because the florets contain isothiocyanates, which can cause gastric irritation in dogs.