No he doesn't. Where is Gaara's punishment? The psychotic nutcase literally slaughtered people for fun. Yet he is pardoned. Where is Onoki's punishment for using Akatsuki for terrorizing and killing god knows how many? Were the elders ever punished together with Danzo for the massacre, for giving Danzo a free pass to kill ninjas as he saw fit? Was Konoha ever punished for its atrocities against Pein's village, against countless other ninjas? Was Raikage ever punished for orphaning Neji, for his onslaught on Konoha for nine tails? Was Mizukage ever punished for snuggling with Akatsuki? Should I go on?
Your reasoning is preposterous and borderline ridiculous. Had Sasuke attacked Konoha and destroyed it, he would have done all those a favour who were wronged by Konoha. It works both ways pal. Konoha is literally an arbitrary establishment, not some lala land you happened to be so infatuated with. He killed Danzo to avenge the death of hundreds of Uchiha clan members, whose graves he robbed and was pardoned by Hizuren and the council. What rubbish. You probably don't understand the difference between the terms 'criminal' and 'rogue'.