According to GOG spokesperson Zuzanna Rybacka, a GOG account and content purchased on the store aregenerally non-transferable.

This is why the company considers a court order a viable alternative.

GOG games can be inherited upon death, but you’ll need a court order