We can also consider events in the #MeToo movement as at least in part public shaming of sexual harassers (but also of course solidarity and organizing of victims of sexual harassment, and pushes for larger political, organizational, and social changes).
When legal action is taken in the public eye I feel as though it ruins the sentiment of the movement as women don't always get justice even if they have support from the public. For instance in The Depp/ Heard case she wasn't taken seriously or supported by many due to the case being televised.