I don't know how but manufacturers can make touch sensitive lamps (just google touch sensitive lamps and switch to shopping for a small range) however they probably have the safety, testing and manufacturing resources to do so and deliver a safe product.
I'm sure with a fair bit of effort you...