Most states allow you to "petition to take the bar exam" through their supreme court rules of that state, as long as you can prove that your legal education, whether online or in person, is equivelant to an ABA approved law school. Lots of people petition to take the bar exam. Some are allowed to take it and some are not.
Sure dude happens all the time. not! Just oodles of non ABA grads lining up to petition a state Supreme Court, all six of them maybe, the rest would not know how to draft a peitition, I sure don't know off hand but I know the chances would be about nil of it being accepted.