It is true that the Democrats opened this can of worms, but the Republicans then taking advantage of it instead of setting a better example does not exonerate them. They're all bad actors now.
Actually, it was to appoint Gorsuch (who replaced Scalia's vacant seat). Kavanaugh was appointed to replace Kennedy.