as with all fish and invertebraes, it depends on the structure of your tank. As long as they BOTH have enough hiding spots there should not be a problem. Fish usually attack eachother because they feel threatened, and with enough hiding spots you should be okay.