If you have enough motivation you'll get through. I'm afraid you really have to want
to play the Guitar, as in having a burning desire. Some quit because they lack focus or they don't receive any feedback. Most of us are plucking away to the four walls in our bedrooms. I think that's one of the important points of having a teacher, it's not only the acquisition of technique but it's also the focus it gives. It's almost like going back to school
I'm not saying that's it's impossible to do it without a teacher, that would be absurd. Without one you are making things a lot harder for yourself though.