Certainly better that whoever Hillary would have nominated, but I am not sure he did better than any Republican would have.
I'm hardly a Trump guy, but facts are, Bush gave us Roberts, Reagan gave us O'Connor and Kennedy.
Additionally, with a razor thin majority, (51, including 2 pro-choicers) I don't know if another president would've had the guts to nominate candidates with the track record of Gorsuch or Kavanaugh, and definitely wouldn't have stood by Kavanaugh the way Trump did.