In that context of fragmentation, it's hard to imagine what an legal 'codecademy' would look like. You can't properly teach theory without a strong writing component, and the professors to review it would put you back into the cost structure of a full university (don't think a neural net would cut it, at least within the next decade). For a bunch of multiple choice on practical law, you would need to restrict your coverage to a specific geography, not to mention a specific field, limiting the market for such a service.
I guess you could start with the uniform criminal code + uniform civil code in the USA. Maybe common law principles too.
While it's generally great for people to learn to code as a hobby or for personal projects, I can't think of viable personal projects within law -- just as you wouldn't want to encourage personal experimentation in medicine. Likely the audience would be people trying to better understand their own problems with the law, which incentivizes Dunning-Kruger or law students, who are already in / will be law school. Unlike coding, law school degrees are absolutely required for the vast majority of legal careers.
I think the success of online legal resource providers like Clerky or LegalZoom is that they help non-lawyers navigate the law (outcome-oriented), rather than being a general educational resource.