Not really, but that too was an accident.
The aircraft carriers were all, by happy coincidence, out of Pearl at the time of the attack. Yamamoto was not happy about this because they were what he wanted.
The loss of life was tragic, and the loss of battleships was a waste, but it kicked the US Navy's reluctant, conservative butt into carrier warfare where it belonged.
