Yes, you can paint pegboard. The type of paint you use will depend on the type of material the pegboard is made from. You will want to be cautious around the pegboard holes because excess paint may block the hole so that a pegboard hook doesn’t fit.