It's funny, in high school due to social perceptions I didn't align myself with the "shop kids", and took exclusively computer-based electives. It's led me to a lucrative career in programming, but now all my hobbiest time is actually spent learning the same hands-on skills I would have gotten in shop class, I love doing automotive repairs, I even learned how to fix my own AC system, and want to learn to weld. Electr…
Grab some Arduinos, LEDs and buttons/switches and you'll learn about electricity pretty quickly with no real risk. It'll get you to a point where you should be comfortable enough working on mains electricity because you'll understand what's dangerous and what isn't. And if you're in the US and a healthy adult, you're probably not going to kill yourself if you take a zap at 120V/15A.
Wiring mains circuits is about craftsmanship and the ability to repeatably follow technical rules for low probability events that were nevertheless "written in blood". Tinkering with electronic circuits is not going to get you the engineering rigor you need to come at mains circuits from first principles.
You certainly can learn DIY house wiring safely as its own thing! The point is that they are just completely different skillsets, and you shouldn't be extrapolating confidence from low voltage circuits into mains wiring.
Also no, while 170 volt mains voltage (US residential peak voltage) is not likely to "kill" you, the actual risks are things like house fires from short circuits and intermittent connections. If you're doing anything where you're worried about getting "zapped", you're doing things horribly wrong in the first place.