If your point situation is critical, then yes, ask the judge to allow you to go to traffic school. If you handled yourself properly and really had a defense, the judge might go along.
If your point situation is not critical and depending upon the points for the violation, I might take the points instead as you get them back in a year.
The traffic school thing stays on your driving record forever and there are limits on the number of times in your life that you can use the traffic school option.
Of course, the best thing is to be found not guilty.

