I can only give my opinion, but I would think a judge would see going to a meeting as a sign of reaching for recovery. That is just my .02 of course.
Have you tried Celebrate Recovery? A lot like AA and maybe it's possible you would not know anyone.
None of us know your situation enough to give legal advise, so it's always good to have an attorney at hand.