Yeah both heroic game launcher and lutris will install gog games, heroic is a bit easier though. Then from desktop mode you just right click on the game shortcut and hit "add to steam" so it'll show up in your steam library (in the non steam games section).
You can also add heroic or lutris to the non steam games section, so that you can use it as a separate game launcher/library manager if you want.
Note that you can enable a setting in heroic to do that automatically. Then you just install all your gog games and heroic will make sure they show up in steam.
You can add them as non-steam games - via steam in desktop mode.
Others have mentioned various tools or launchers that make it easier.
I didn't like any of those tools though so I just add the games manually - i only have a 4-5 on there at a a time and i dont get through games very fast.
This. There is very little need for third-party tools, as long as you don't want to install a whole lot of games. After all, the installation process only happens once per game, and also without tools it doesn't take very long.
As a step-by-step guide:
Download the games from the GoG website. You can find them if you hover the site's header bar, where your user-name is displayed. There's a "Games" button which brings you to the list of games, where you can download the installers directly. The downloads are listed under "Download Offline Backup Game Installers".
Unpack the game installer.
Innoextract is your friend here. No need to run the installer, just unpack the files. Works with both, Windows and Linux games.
Alternatively, if it's a native Linux game, you can just run the installer directly on the Steam Deck.
For Windows games you can theoretically also use Proton directly on the deck. However, the process is annoying, so I won't go into details.
Add the game to Steam Library. This can be done in Desktop Mode. There's a menu entry in Steam's "Games" menu for that.
In the File Browser, you need to disable the file filter, as it (iirc) only shows .desktop files by default. You'll want the game's executable though.
If it's a Windows game, go to the game's properties page in Steam, and force a specific compatibility tool for it, namely some recent version of Proton.
For native Linux games this step is usually not needed, but some very old games need to set the Steam Linux Runtime here.
Go to Desktop Mode, run Plasma Discover, get the Heroic flatpak, run Heroic, log into GoG there, install games.
Heroic is pretty damn good at doing the rest. It'll install the Linux or Windows version of your games, it'll add them to Steam, it'll run them. Heroic will even give Steam some coverart for your games. (Many are missing the logo, tho. DeckyLoader +SteamGridDB plugin fixes that.)
You can go to the desktop mode and install the GOG launcher. Then after installing your games, open Steam and add the games as non-Steam games. They'll show up in game mode as well.
The Heroic Launcher can add your games from GOG, EGS, and some others iirc to Steam automatically. I believe there are other, supposedly better options too, but I can't remember the name(s) right now. Also don't remember what (if anything) was wrong with Heroic.
Haha yeah there are still a couple oddball things like battlenet I use lutris for, but damn if heroic isn't just easier all the way around.
I've never gotten past the "well I tried once and it didn't work" stage with bottles, maybe one of these days I'll actually sit down and try to get it working properly.
Heroic launcher is pretty good alternative. It has a feature to "automatically add to steam" as well that should make a link in the big picture steam deck mode so you don't have to drop to desktop mode to make them work as well.
The Epic games are part of their public (free) release, but GOG is still in beta/alpha and I think you make a one off patron donation or be a part of one of their patreon tiers to access it. Its a solo dev effort with a tonne of time put into it.
Heroic Games Launcher supports GoG pretty well. You can install it with Flatpak using Discover in desktop mode.
When you login to GoG and install a game, you will be able to “Add it to Steam” (top-right hamburger menu in game’s view) and it should then be available in your “Non-steam games” in gaming mode.
So I have no clue about the Steamdeck but as far as I know there should be a desktop mode. Maybe you can than install Lutris which has the possibility to include GOG games.