Yes. In the UK you are legally required to inform the DVLA if you have a condition or device that may affect your ability to drive safely. Having an ICD is a notifiable condition.
For Group 1 licences (car and motorcycle), there is typically a period of driving restriction following ICD implantation — usually six months — and further restrictions may apply if your device delivers a shock. For Group 2 licences (lorries and buses), the restrictions are stricter and in many cases permanent.
You should notify the DVLA using the appropriate medical questionnaire, available on GOV.UK. Your cardiologist or device clinic can support you with this process and provide any necessary medical information. You should also inform your motor insurer, as failing to disclose a relevant medical condition can invalidate your policy.
Always check the current DVLA guidance, as the rules are updated periodically. The full guidance is available at www.gov.uk/dvla/medicalenquiries.