It has been done. Google Catherine of Siena.
It struck me as odd the other night when our neighboring priest who was celebrating mass with our priest walked to the lectern and told us that if we criticize a priest we will bring a curse upon ourselves!!! To put it mildly I was shocked and told my husband that I wondered what St. Catherine would say about that.
Admonishing sinners is a spiritual work of mercy and if a priest is sinning then he needs to be admonished.