It depends on their maturity as well as tank size. I have seen geoups of yellow tangs work in aquaria, but only in huge tanks. What I have seen is they will form pairs, the pairs will pick a territory, and any odd tangs out get killed eventually. This is contrary to what we see in nature with yellow tangs as they normally form large schools.