The Romans used lead acetate as a sweetener[0], but the exact compounds used in lead paint are different. It doesn't seem that those are sweet.[1]
[0] https://en.wikipedia.org/wiki/Lead(II)_acetate
[1] https://healthyindoors.com/2018/11/lead-paint-sweet-aint/