Is it safe for a dog to eat locust?

In general, the answer is no.

While some species of locusts are not inherently toxic to dogs, they can still pose a significant choking hazard due to their hard exoskeletons and wings. Additionally, wild locusts may have been subjected to pesticides or other harmful chemicals, making them unsafe for consumption by dogs. It is always best to consult with a veterinarian before feeding your dog any type of insect.