Modems (you didn't specify what kind of) usually don't have fixed IP addresses when connecting, so you'd need to know your friends' addresses first. Other than that, I don't really see why it wouldn't work - unless the game itself doesn't support that. I haven't played Starcraft so I don't know if it has specific servers.