Yes — replacing a like-for-like pendant light fitting is a minor electrical task a competent homeowner can do safely, provided the circuit is isolated first.
🏠Homeowner view
Replacing a pendant light fitting (swapping one ceiling rose and shade for another) is one of the simplest electrical tasks and is legal for a homeowner to do themselves in England and Wales. The rules are: it must be like-for-like (same type of fitting, not adding spotlights or a fan), the circuit must be switched off at the fuse box before you start, and you should confirm the circuit is dead with a non-contact voltage tester before touching any wires. The wiring in the ceiling rose connects in specific ways — take a photo before you disconnect anything. The main colours in modern cable are: brown = live, blue = neutral, green/yellow = earth. If you find old red/black wiring, be careful — red is live, black is neutral. If anything looks burnt, damaged, or you're unsure, stop and call an electrician.