I think what you are describing is a blessing.

Really. It appears you have a strong willed child, and channeled the right way is a wonderful attribute.
My way is time consuming and not for everyone, but here it is.
Regarding safety issues, like plug ins I would remove that issue. I would put something that cannot be moved by the child in front of them.
A baby does not have the ability to exercise self control and will not have that capability for a couple of years. That is why telling your child "no" isn't working.
A baby's job is to learn and explore so hindering that process is confusing for the baby. A baby being popped on the hand is confusing for them as they have no concept of right and wrong or of consequence of punishment, so in my view that is completely ineffective and hard on the child.
I looked into the next couple of years as well as now in deciding what to do about this. At other people's houses I did not have the ability of moving their house around so I had to get around that.
I went with both of my children and showed them everything. I picked the item up, allowed them to explore it and then went on to the next item. I would say "uh oh" when they tried to explore on their own. I would go to them again and aid in the exploration.
When they weren't free exploring with me like this, I would busy them doing other things so they could only free explore with me. I would have them busy in their high chair, outside with me, in the bath, etc.
After a few months of that, they would let me know they wanted to see something, I would go with them and they never touched things they shouldn't be. At other people's houses they never broke a thing, came to me to see things and no one was ever worried about my children in their home.
As they grew older the parameters were extended according to developmental stage until they could touch anything in the home. My son at 7 still asks me when shopping what he can hold and what he can't. At he crystal shop, I still hold it and he checks it out.
For me this worked like a charm.