It will depend on the learning that you are willing to undergo. A lot of students in the past may have failed in school but were able to get their life back on track once they are outside school. There are just many people who are not made for the confining walls and rules of schools.
Some are better off being online students because they can learn while controlling the things that they want to do. Gone are the days when the only way that people can learn is by going to an actual school. Schools right now recognize that there are some students who can learn better online, and they offer what people may need for that.