Seal789: Hello, Can you play games on GOG against other players online and or coop ?
Yes, look at each game in the store to see whether it supports multiplayer features or not, and what types of multiplayer. In particular games that support crossplay will have a larger number of players in them potentially as this is basically cross-store multiplayer, so it brings in players from Steam or other storefronts for games that support the crossplay.
Also, there are games that support direct peer to peer multiplayer (I believe the Larian Studios games do?), which is decentralized, but this is not common in the game industry as a whole, yet nice when a game does support it. Some games may also support LAN multiplayer also, which can theoretically be played online using VPNs such as Hamachi between players.
Be sure to read each game's store page to see what features are supported for that specific game including multiplayer, and if you have questions about a specific game and it's multiplayer functionality it might be useful to ask about it in that game's specific forum here also.
Hope this helps.