I can't get a job is not a reason to start freelancing.
The mindset which leads you to freelancing needs to look something like "I love helping people and I believe I have serious value to bring to the table." You see, one viewpoint is self centered, negative, desperate and looking for a way out. The other viewpoint is to focus on the potential client and how you can help that person achieve his or her goals.
If you couldn't cope with high school because of personal reasons, then what makes you think you can cope with freelancing? Did these problems go away or are they still present? If they are still present, then they will cause greater problems with freelancing than they did with high school.
Let me tell you a little secret about freelancing.
Your technical skills mean dick.
There is a long list of critical skills and attributes which you need to be strong in before you get to anything which resembles writing code. Freelancing is about people, not computers. You will find that the most successful freelancers aren't necessarily the strongest developers.
On the other hand, to get what you want out of life, you have to hustle. People will tell you what you can and can't do. A hustler will get it done out of sheer will.
Ideally you would be able to get a job doing web development so that you can see how a successful shop is run. If you can't get a job in your local area, then ideally you would be able to move to an area with a lot of tech jobs. You could work remotely, but working remotely is hard, just like freelancing. Again, your personal issues might be a problem.
Once you have some experience under your belt, then you will have a better idea if freelancing is for you. Hopefully you find a better track.
The effort you would need to put into snagging freelance client work is the same effort you would need to put into getting a job. Build your portfolio, put some stuff up in Github and ship your side project. Find places where other developers hang out and contribute something. That could be code, help or just about anything which gets your name out there. As people get to know who you are, then they may reach out to you for paid help. It's possible that you still start out as a freelancer by going this route, but deal with enough people and you will eventually get job offers. Of course, as you build yourself up, you can apply for jobs along the way.
This is just one route. But starting out, it's the route I would go.