Yeah
that could work what gallon would that be ?If space is an issue go for a wider tank and not a longer one like a tank with a 4x2 footprint. Small length and height of a 90 gallon but a little wider and better for the fish you want.