One area of Indonesia put mask violators on grave-digging as punishment.[1]
[1] https://www.usatoday.com/story/news/factcheck/2020/09/21/fac...
[1] https://www.usatoday.com/story/news/factcheck/2020/09/21/fac...
Plus, the article says it was only 8 people which won't have any actual impact.
I can't imagine any rational person thinking this would be effective. "Oh, I'm digging a grave for someone who has lived 3x more than me." If that were successful nobody would smoke, drink, eat bad food.