Yes, a discolored aluminum pan can be used for baking as long as there are no signs of extensive corrosion or flaking of coating. The discoloration does not affect the pan's performance.