Yes, Dissociative Identity Disorder (DID) can be treated with medication, although medication can't directly cure DID and it does not treat the core symptoms of DID itself.The Primary treatment for DID is Psychotherapy. Medications can help manage co-occurring symptoms or conditions, such as,Anxiety and depression