Didn't Jesus do that?
No.
He said that the Pharisees were the rightful inheritors of Moses and that the Apostles should follow their teaching.
He did also teach that the Pharisees had a tendency to pridefulness and that they did not always follow their own teaching.
Of the two major schools - Sadducees and Pharisees - Jesus unequivocally condemned the Sadducees' theology.
To the average Jew of the 1st century, if he were forced to categorize Jesus, Jesus would have fallen more into the category of a Pharisee because of Jesus' insistence on one of the Pharisees' central doctrines: the resurrection of the body.