Yes, 20-gallon tanks are suitable for keeping small shrimp or snails along with fish.