It really isn't possible to get someone committed when they are not overtly suicidal or in a psychotic state. Just because they are behaving in an irrational, self-destructive way doesn't mean they are committable.
People are ALLOWED to do crazy, self-destructive things. It's heartbreaking for those who love them, though.