I wouldn't personally paint sights, but you do you.
If you're talking about being able to switch the colors of per say a red dot sight you can switch the color of the dot by a nob on the side, but if you are talking about actually spray painting it I'd also advise against it.
Thanks! Your answer is awaiting moderation.