Yes, and no. The better word for connection is połączenie, as in internet conection. Połączenie implies a sort of link. While it mostly implies a physical link (as in pluging a wire into a socket), it can also be used for describing a spiritual link between people. Związek is translated best as relationship or union. So a związek internetowy is an online-relationship, while połączenie internetowe is an internet conection.