Yes, in fact, its exactly what the internet was created for
I'm sure you'll get plenty of FAQ links from someone, but here's the quick and dirty. Each computer will have a unique address that you can find out and use to talk directly to each other. Most multiplayer games today though allow easier ways to find people and connect through a server.