My experience in becoming a professional software engineer started when my parents got me hooked on computer programming as child. Computers weren't nearly as cheap when I was a kid as they are now (90s and 00s), but writing random software was mostly just limited by my imagination. All but the most advanced concepts could be experimented with on a laptop.
EE and hardware design is so much harder to access. The software is very expensive and the open source versions are very limited in comparison (I love Kicad but it's no Altium). Protocols for anything you'll find in consumer devices is locked down behind tons of fees, NDAs, etc. Parts are locked down in the same way. No one will talk to you unless you want to order tens of thousands of components at a time.