Abp Rummel did it with recalcitrant racists back in 1962 :

On April 16, 1962, the Monday before Easter, he excommunicated three local Catholics for defying the authority the Church and organizing protests against the Archdiocese.[16] The first of the three was Judge Leander Perez, 70, a parish judge from St. Bernard Parish, who called on Catholics to withhold donations to the Archdiocese and to boycott Sunday church collections. The second was Jackson G. Ricau, 44, political commentator, segregationist writer, and director of the "Citizens Council of South Louisiana". The third was Una Gaillot, 41, mother of two, housewife, and president of "Save Our Nation Inc.". [5] [17] The excommunications made national headlines and had the tacit support of the papacy. [1]