Then Steam can't sell anything except Valve games, as they don't own them.
What you can sell, however, is the licence. But this sellability depends on the EULA or ToS, which has to abide by laws in your country. So you can allow people to resell licences for their digital games.