if thats a ten gallon tank it should be fine. just make sure you get only one because they may fight . if you do get 2 get a male and female. dont get a male and a male because ive hade some and they have fought.the only problem with a male and a female is they may have alot of babies. Ive also heard they can be pregnant and nursing at the same time but I dont know if thats for hamsters it may be just for mice.
dont quote me though do some research on the web and find out.