In general, no. While some locust species are not inherently toxic, their hard exoskeletons and wings can pose a serious choking hazard. Wild locusts may also have been exposed to pesticides or other harmful chemicals.
Always consult your veterinarian before feeding your dog any kind of insect.