I've made quite a few lamps and my approach or my thinking, perhaps wrongly, is that they are made up of parts that are all CE marked.
So the flex, the bulb holder, the plug, all certificated.
I would then get them PAT tested too.
These for example I made the bases, but the actual lamps are...