Yes, there is nothing wrong with a person talking about their mental illness. This can serve as motivation for other people not to remain silent and to understand that anyone can suffer from mental illness and overcome it.