Yes, it can be done.
As an aspie myself, I can't remember detention, but I was banned from being part of classes and attending activities. I was never threatened with being suspended or expelled from school and summer camp, but I did get sent to the principal's and camp director's offices to be lectured.