My T.J. has been chewing his legs

aws for 10 years. My vet says it is a nervous habit like biting nails and if you stop it he will just do something else. It isn't necessarily allergies. I he's not scratching or biting anywhere else it could be just an obsession like you said