Can I change an inventory organization code?

No, you can't change an inventory organization code.

Inventory organization codes are used in multiple setups, so changing the code could have many unanticipated repercussions. You should instead create a new organization with the desired code and identical setup, and then disable the unwanted code.