GOG is exploring the possibility of bringing back boxed PC games by letting customers order physical editions directly from their digital libraries. However, the idea remains in its early stages, with logistical challenges and publisher approvals still standing in the way. In the meantime, the company is taking smaller steps to revive the appeal of classic big-box editions.
Flash memory data retention isn’t that long unless it’s periodically powered up, the higher the levels per cell the worse it is (so, SLC - single level cell, where each cell only encodes 1 bit with 2 values - has far longer memory retention than QLC - quad level cell, where each cell encodes 4 bits with 16 values).
Meanwhile as somebody else already pointed out, stamped CDs and DVDs will last decades (this is not so for recordable ones, though if I remember it correctly even those last longer without content corruption than QLC flash).