Yes, there is some connection between the two, but wasn't Bushido, and not Shinto per se, the driving force of Japanese imperalism?
My understanding is that the two are basically intertwined.