No, it is not safe to do electrical work yourself unless you are a licensed and qualified electrician. Attempting to do electrical work yourself can be dangerous and can result in injury, fire, or other hazards.