It is possible for your dog's throat to become sore after excessive barking.
After all, your dog uses his or her throat to produce the barking sounds.
However, it may be difficult to isolate a sore throat just from excessive barking.
If it starts to sound hoarse, your dog may have a sore throat.