Anodizing is electrically deposited, and is not generally affected by the types of solvents most people use. Brake cleaner will not hurt it.
BUT there are a lot of catalyzed resin coatings out there that look like anodizing, so if in doubt, use some solvent on a patch in an inconspicuous area of the piece.