Wow this is a really good idea. I wonder if the various state trials happening as well should use this for remediation too.
It's not a hard thing to implement on their end and should be mandated by a judge as you said.
Filing this away for later use.
Europe (Poland) loves this kind of stuff.
It often comes up in (anti) free-speech trials, where the government compels the perpetrator to issue a public apology to the victim. Forcing them to buy an ad in a newspaper for example is not unheard of.
As far as I understand, Americans consider this to be "compelled speech" and hence prohibited, but I might be wrong on this.