Hello tash_88, and welcome to the forum.
I don't really understand the sentence you quoted. Can you rephrase it in a simpler way please?
Yes, it is possible to use "online" without a noun (as in your last sentence!), but "connection to online" at the end of a sentence does not work.