As long as your lighting installation conforms to the UK government’s electrical regulations, then yes, it is safe. These regulations include the presence of an RCD (residual current device), which is a sensitivity component to your fixture and acts as a break. If a fault is detected in the electrical current, then the RCD immediately switches the device off.