"Completely different" is a bit of an exaggeration. Some number theorists are really algebraic geometers.
But yes, there are people who switch away from their thesis areas. Barry Mazur, if the story is correct, wrote an awesomely short thesis on topology. But he's famous as a number theorist.