Within reason all tanks are fine...the problems arise when a particular species of fish needs lateral swimming room and short square tanks don't provide that.
A 30''/90 gal tank should be fine but I would stock it lighter than if it were a 48''> 90
G