Any city having ten thousand inhabitants which is governed under a charter may become a charter code city by a procedure prescribed in this chapter and be governed under this title, with the powers conferred hereby.