Yes, the charter is legally binding as OpenAI's primary fiduciary obligation. It's akin to a normal corporation's duty to shareholders.
Such mission statements are generally modifiable as long as the new purpose is still charitable. It depends on the bylaws though.