Can the black housing on the solar power fan be painted to match the roof shingles?

Yes, but you should first prime the housing with an acrylic paint.

Yes it can, but you should first prime the housing with an acrylic paint. Be sure to not apply any paint to the solar panel surface.