I've had both hamsters and gerbils, only one at a time.
They were both happy, as my entire family enjoyed playing with them and petting them, so they had very little "alone time" anyway.
They were very friendly, and would crawl into your hand when you lowered it into the cage.