I do think that it is like a habit. I think that these types of relationships are great for filling voids in our lives. But the longer you are involved in a long distance relationship that will never come to fruition, the less chance you have to actually meet a real life companion. Better to keep online relationships as a friendship and encourage each other to get out and meet people.
You need to be realistic. The only way it can possibly work out is if you can be together. You can't sustain a long distance online relationship for the rest of your life