In the Sunni hadith books, it is mentioned that if a person establishes a bad practice, and others continue that practice after them, then that person will continue to be burdened with more sins due to his/her legacy.
I cannot really think offhand of any hadith specifically through Shi'i chains that say that, but if someone finds some, they can provide them.
In any case, one could argue that the idea seems correct or incorrect, rationally. It seems just that someone who starts something evil or wrong will continue to be held accountable for it. However, a dead person has no control over what people choose to do after them, and people also bear some responsibility for ignorance and blind following.
As with so many matters, God knows best.