No, they cannot live together. Althougth they may look similar and both are rodents, they have different needs. Gerbils are social animals while hamsters are loners. Their sleeping habits are different, hamsters are nocturnal, gerbils are diurnal. Diet is similar but gerbils eat less. They both can bite, but best to keep them separate.