There aren’t many instances where you might need to put ice cubes in a dry bag, and since ice melts into water, it might not be a good idea if you’ve got other things in the bag that you’d like to keep dry. That said, depending on how waterproof the bag is, and how much ice you put in there, the bag should be able to hold ice without leaking for a few hours.