Seperate programs

Hello, is it possible to have two game develop programs working together? What I mean is like minecraft has a game and a server. They are two separate programs but they can exchange information. Is it possible?