Can hamsters and gebils have pups together?

No. They are different species and incapable of reproduction. Although some species can breed with other species, like a cow and a bison, they need to be closely related, usually the same genus to reproduce. Hamsters and gerbils are not close enough to do so. But they would have adorable babies if they could breed!