It certainly does sound like your dog has some type of obsessive compulsive behavior disorder. There are medications that can help with this, so you should see your vet as soon as possible to discuss this problem. It is best if you could also videotape your dog doing this behavior for the vet to see. Sometimes it is difficult for a vet to diagnose OCD based on description...but when we can see what the animal is doing, it is often very clear.
I am attaching a client information handout that I use in my practice that discusses OCD in dogs in more detail and how it is treated. I hope that you find it useful.
Click Here Please let me know if I can be of further assistance.
Dr. K
__________________
If you feel my answer was helpful, please click on ACCEPT. Bonuses are always appreciated. Please remember that I am always available to answer follow-up questions that you may have concerning this matter.
Thanks,
Dr. K