this is possiblemaybe two different types but make sure you have plenty plants bogwood so they can avoid each other and have their own seperate territories
As Scotty said it is possible. You need to have enough in there to break their lines of sight, they need lots of hiding space, etc.
Also another point to remember is not to get two species that may interbreed