Many people enter online relationships through dating websites, which is entirely understandable. Meeting somebody who's right for you isn't necessarily as easy as most make out (complex people tend to have more difficulty finding a partner), and expanding ones options online can increase chances of success.
There's nothing to stop you from meeting that person in real life, when you feel the time is right, when you can afford a visit, or when you simply get over the shyness. A person is still a person, regardless of the medium through which you communicate. So long as you don't confine yourself to that medium, then an online relationship is perfectly fine.
I wouldn't recommend entering a long-term online relationship without an intent to meet this person in real life, you'll miss out on a lot of the benefits (sex, for a start), but there's nothing to stop you slowly building up to that stage. Confidence builds over time, and the internet can provide a great starting point.