Can you paint over old driveway paint that is peeling or flaking?

Yes, but the failing coating must be removed first. Painting over peeling paint will cause the new coating to lift and fail prematurely.