My son takes an online course through AoPS during his math class at his charter school. He has done this for a few years and overall it has worked well.