You can maintain them together. However, the requirement for the two types of corals usually differ so you're going to have a bit of a balancing act going on in a tank with SPS and softies. You're also going to most likely encounter chemical warfare and will have slow SPS growth, though regular use of GAC can help curb that.