If the issue is purely financial, could you crowd fund part of your CS education ? People are starting to crowdfund healthcare [1], some are crowdfunding their university education [2].
That being said, I feel like CS is one of the few things you can study in depth for free using the internet. I'm not saying its the only one, but I really do feel like you can. Actually, that's why I decided to go with engineering at university, because I felt learning CS without school would probably be easier than learning rocket science without school because of the material freely available online. This way I could learn both aero engr and CS! (the hard part with this reasoning isn't finding the material, it's having the work ethics to read, understand, and apply what you learn alone).
Maybe your law school has an online library also ? Back when I was doing my Bacherlor's, I wanted to learn more about math, aero engineering wasn't broad enough and wasn't in depth enough either. So I went on my online library and read pretty much every graduate textbooks in math I could find. It was so simple, I'd just type what I wanted to study, and I would read the books accessible online. I didn't even need to be on campus anymoe. I'm saying this because if you can find CS books that you can read for free and that are easily accessible/legal, you can learn CS this way. Of course, it'll be a lot harder to learn CS (anything actually) alone than by being 'forced' by your prof to read the books, turn in homework, and study your stuff for the exams. But with discipline, of course it's possible. I didn't learn engineering by going to class, I learned and earned my BS in engr by reading the books, doing my homework, and studying for my exam; not by going to class. I actually only very very rarely showed up to class. It may be very hard while also going to law school though :(
Anyway, if math isn't a barrier/scary to you, definitely look into alternate ways to fund your CS education/making your own
[1] https://watsi.org/
[2] https://hubbub.net/p/eotoimperial