No, it's not, and saying it is is trivializing lynching. Which, given the political alignment of the people usually arguing the loudest against cancel culture, is unsurprising.
If I retweet a message that says "X assaulted Y" and X ends up fired later, have I participated in a lynching?