They might be ok while young and in a really big tank without a female they might be ok, but chances are they will end up fighting and have to be separated. Just watch them and if one seems to chase the other and that one hides all the time, then remove it because it is being bullied.