I think he's just taking the name Hachiman and thinking of the Bodhisattva Hachiman. Hachiman is a god of war in the Shinto tradition; with the arrival of Buddhism in Japan he was integrated into that faith as a bodhisattva, a human who has attained Buddhahood.