Yes, you can. For this purpose we use an application programming interface (API) with strictly defined rules and descriptions to define a way how different computer programs can communicate with each other.