Yup. The Japs also did an atrocious job of training replacement pilots for their carriers. They had a superbly trained and experienced group when they attacked Pearl, but it was disippated over the course of the next year or so, and they never worked out a way to provide replacements.
The Japanese really set themselves up for failure with their doctrine on pilot training. Whereas the U.S. had established a policy that cycled out pilots in order to train more pilots, the Japanese tended to run their pilots to destruction. The John S. Thach, for example, was sent to Pearl Harbor after Midway to train other pilots in the Beam Defense Position (Thach Weave).
At the same battle of Midway, most of the pilots who flew against Pearl Harbor will downed and killed. They didn’t rotate them out for training purposes and as a result, the quality of the Japanese pilot diminished. This coupled with their noted deficiency in materials just exasperated the problem.