AA does publish official guidelines for cooperating with the courts in the USA. This practice is nothing new, and dates to the 1940's.
A.A. Guidelines on Cooperating with Court, D.W.I. and Similar Programs
There are secular recovery organizations that are also doing this now, though. See for, example, this from SMART Recovery:
SMART Recovery and the Courts
JeffreyAK is right about it not being just AA anymore.