You can use Google takeout to export your game saves. I've used it to export my cyberpunk 2077 save but I haven't yet tried importing it into the Steam version.
I would have thought that because destiny 2 is an online game, the save files would be kept on bungie's servers. Perhaps the issue with the game is more that players need to link their identity to their account on a second platform.