Still, there must be some numerical limit. I just tried testing it – I collected 55 artifacts in my backpack and didn't see any restrictions. In the game, you usually try to get rid of so much junk by offering it at an altar or giving it to other heroes.