I think it depends on the person and how committed they are to learn the instrument on their own. I tried online piano classes and found that I did not have enough motivation to do that. It was only after I hired a private tutor that I started seeing some progress.