Not much to add, but FWIW I'll share my background. I went from the City (leading international firm and US "white shoe" firm) to working for myself from home. A big part of my decision was the fact that I suffer(/-ed) from anxiety and was on constant alert for a million-pound cock-up. (In hindsight, so are many people in City law, especially at the junior level.)
I now do a combination of things: advising small (mainly start-up) tech companies on the basics of establishing their legal presence, articles, shares etc; one day p/w at a local law clinic; running a small business helping people who want to train as lawyers with their CVs, applications, interviews etc; and running a second, similar business for more general clients. I also have money coming in from a rental property (just so you have the full picture).
When I saw that law was making my miserable or exacerbating my anxiety, I started one of these ^ from home, very slowly, on the weekends, just to see if it had legs. It grew enough to convince me to leave my job, taking an £80,000 pay cut (!). The others followed. It's still hard at times, but even the worst day is significantly better than the equivalent when I was working in the City though I have to provide my own biscuits and stationery now.
In your shoes, I'd try to identify what aspects of your work you actively enjoy, and imagine how you can expand those out - what would a full time role involving those aspects of your work look like? If you could write a job description for your ideal role, what would it be? I'm just not sure teaching will do it, based on what you've said about yourself.
You're very welcome to PM me if you want to chat through things.