The same is not true for software and will NEVER be true for software.
Nobody is ever going to care if the guy fiddling around with CSS and HTML to make a marketing landing page is licensed or not. Hell, I know small startups that will pay a bright high school student to do stuff like that.
Vast swafts of software engineering can be reduced to basic crud web dev that a bootcamper college dropout is capable of doing.
There is no "high school intern" level equivalent of medical work that the world has a massive shortage of.
Lawyers are only in their professional org because it is enforced against them.
There'd have to be some negative effect to "defecting" by not joining the org. Self enforced maybe? Devs refusing to hire other devs that aren't in the org? Possibly.
That's true today, mainly due to centuries of work to professionalize medicine.
There was a time in history where much of treatment was basically the equivalent of high school crud work.
More importantly, I don't think we need to worry about the random fiddlers. They're not the ones building massive databases. It's the people working at places like Google and Facebook.
The size of the "alternative medicine" industry begs to differ.