as long as it has a lid i think it will be ok, hamsters are 'escape artists' and escape out of allot of cages, many people ask, how can i find my hamster but this is usually because the cage isn't secure or the hamster can just escape.
tanks have good and bad points, they are quite high so its...