The answer is yes but first you must figure out what is ailing him. If your dog is cranky because he has a medical problem, like arthritis, see your vet about treatment. If he is cranky because you are constantly interfering with him when he is trying to get on with his life or catch some zzz's, try to be more considerate. If he is cranky toward strangers, arrange for good things to happen when they are around. In addition, make sure he has plenty of opportunity to exercise, a healthy diet, clear communication from you and that he has plenty to keep him occupied during the day. These lifestyle measures will provide a good framework for positive learning experiences and will help promote a happy, healthy and non-cranky life for your four-legged friend.