In regards to whether or not he can have you committed, I'm not sure whether a married spouse can or not, but I doubt they would keep you very long if he did. He sounds like the one with mental problems. He sounds like the one who's bipolar.
If you do decide to leave him, just know that you have my utmost respect & support as another woman.