Kamikazis’ targets were invariably military. It was a terrifying tactic, but not a war crime.
The Japanese didn't show much quarter to civilians, either...read about Nanking or ask a Korean "comfort girl".
Having said that, it was not so much the fault of the traditional Japanese warrior caste that had in fact, largely been marginalized in the mid-nineteenth century, but rather, it was the modern, industrialized, western-influenced Japanese Army that largely committed the civilian atrocities.