Why not?
The MD cert and residency are the entire reason doctors don't have to deal with the same interview bullshit ("now please demonstrate an open-heart surgery on this patient over in room 103, and talk me through it as you go"). There are multiple gates you have to pass before you become hireable:
1. Be in about the top quintile of your undergraduate class.
2. Have good MCAT scores.
3. Get accepted to a med school.
4. Not fail out of med school, which includes what is effectively an apprenticeship while being supervised by an experienced practitioner.
4. Be accepted to residency.
5. Not fuck up your residency.
6. Apply for your license.
7. Not become uninsurable for malpractice.
Almost all of the bozos have been eliminated by the time you get to step 6. That is what makes hiring a doctor easier: you mostly just need to check "is this person's license real?" and "are there any red flags since licensure?" When checking references, you mostly rely on other people who also have a medical license.
In the software world, we have no equivalent to all that. Literally anyone can call themself a software engineer. There are no licenses, no tests, no (required) degrees. There's no apprenticeship. There are no lasting career consequences to fucking up a project. When checking references, you have no way to know that those people are real (unless they are in your network).
That's why we need skills and knowledge tests when hiring for software roles. Sure, it's nice that you can walk into a software job without the 10-15 years of formal process, but the flip side is all the annoying process around hiring.
There ain't no such thing as a free lunch.