I think that it would need a larger tank due to water quality issues - a 24 gallon cube would be better.
They eat krill, shrimp, fish flesh, silversides, etc. I had one in with a 3 stripe damsel (in a 20 gallon tank) for several months and they got along fine.