Like sure eventually the person will learn the job but only after a significant cost in bad decisions.
Just to clarify just in case; We're talking about domain knowledge here, not management knowledge, I'm not entirely clear how that maps to your example, as you're talking about any general experience I suppose? I'm not saying we should put people without experience into management positions, if that's the misreading you did.
I'd dread managing technical people in a field I have no experience or knowledge; in my experience, especially in tech, such managers are often held hostage by engineers who stubbornly don't want to do things, tell fibs about feasibility, ... The other side of that is that such managers often make progress making said engineers promises that often turn out to be carrots on sticks or outright lies.
If you can't go with in the trenches, what good are you and how do you expect to build a trusting relationship?
Sure, but you can always pick that up as you learn how things work. It's a bit harder to do that in engineering as it requires years of experience with your craft.
Just like a manager just starting out isn't gonna have the right intuition and hunches until some years of experience, you can't just "pick that up", that is the expertise, unlike domain knowledge.