Yeah, you can. What size tank do you want, and how many males are you thinking of? Just the two?
Usually, it works better if you have more males, just to spread out the aggression. Of course, a big enough tank for them to be able to get away from each other is a must too. Lots of decorations and plants will help. But it really comes down to the fish. Most times this will work, but ocasionally you get a male that just won't tolerate being with all males.