To bad this was broached as a gendered issue when the real issue seems to be finding an educational setting that is engaging. Good for you for considering alternatives and addressing the engagement issue and letting him figure it out as he matured. And congrats to your son for his hard work.
I truly believe a big part of success is improved executive functioning + engagement+ agency+ figuring things out on your own with a good safety net.