I suppose. Though there are people who want to teach and never finish their dissertations. Most however, genuinely want to do research, and are willing to teach. It can be unrewarding, if you don't have any grad students.