Yes i just did this myself with 2 boys, It can also be done with male/ female or two females.
Its called the split cage method. Clean the whole cage with soap and water to get rid of all smells ( if you don't then gerbils will be Territorial), Put a divider in the cage ( chicken wire works good, just make sure they cant hurt themselves) put a gerbil on each side. About 3 or 4 times a day switch the gerbils from one side to the other so they can get used to the others scents and realize the other gerbil is not a threat. Make sure they ain't trying to hurt each other through the wire, but let them interact through the wire, It can take anywhere from a week to a month. Mine took about 5 days,
When you check to see if they are getting along put on some thick gloves and place them together, if they start fighting separate them, If your not wearing gloves then you might get bit.
Edit:
Gerbils are not like hamsters, Unlike hamsters gerbils nap during the day and night while hamsters sleep all day and are awake all night. Also Gerbils are not biters, they do not bite unless they feel threatend. Gerbils are also cleaner, they don't smell as bad as hamsters do. I love gerbils their little taisl are so cute