They should be okay as playmates, and I recommend you do not put them into the same cage as this could result in fighting over food or toys or just in general.
Allow them to come out on their playtops and play together IF you are always watching them. Cockatoos tend to be somewhat aggressive birds, so never leave the two of them alone together when outside cage.