Not What it was designed for. It is petroleum based, Thus it will repel latex paints.
As this glue sets, as with most glues, there is evaporation. This evaporation causes shrinkage. that shrinking of the glue will leave divots in the the substrate.
Use a Wood Filler or painters putty. that can be sanded flush and painted over.