Yes, but remember, Obama doesn’t like the Clintons, would prefer Bidin to follow him.
But he is a Democrat, and he is not going to be party to take Hillary out. And remember, he would have a lot to lose, too. First, it would reflect badly on his administration. More importantly, if he did that, it would open the door to him potentially having to answer legally for one of his scandals.