Yes, you can paint over it if it is in good condition with no signs of damage. This is called encapsulation. However, make sure that you use the right paint (encapsulant) and follow safety protocols and guidelines. Store-bought paint won’t be enough to encapsulate lead-based paint. Only a trained professional should do this.