Your question
Will removing lead pipes cause a problem with electrical earthing?
The safe earthing of your home and electrical appliances is your responsibility. In the past, the lead water supply pipe was often used as an electrical earth for homes. But removing the lead pipes may leave your home unsafe if there is an electrical fault. Please ask your electricity company (see your latest bill) or a competent electrician for advice on electrical earthing.