Yes, it would. Schoolchildren in the Netherlands do this not out of a penalty but out of a sense of obligation. Having this as a requirement for people who are convicted of such atrocities, absolutely, I would certainly support that.
On March 1st, 2022. See this statement in context.