Wouldn’t be feasible for them to excommunicate corruption. To excommunicate someone from corruption they have to be a proven to be corrupt. How would the Church go about doing that? Canon law insists that a person is innocent until proven guilty. So they would need to convene an ecclesiastic tribunal and request criminal records.
That wont happen.
Excommunication would be the best thing that ever happened to anyone in the Catholic Church.