Painted mine with bolts in, removed bolts, installed brackets and accessories and torqued the bolts after reinstalling.
All before initial fire up. Won't hurt a thing.
I also use plastic sandwich bags over bolts and nuts that have been painted when tightening to help keep them looking good. It "takes up the lash" between fastener and socket/wrench and the tighter fit keeps from marring the paint.