Yes, you can paint structural rafters or supports – but be sure to paint only with light or white color. Do not use dark colors like black or brown that can absorb and reflect intense heat.