I think the answer is no, and in any case there are a variety of material and strategic factors, like a set of common enemies, that would make it hard to say that ideology was a driving force in the alliance between Germany and Japan.
Asking as someone from the US, you also have to keep in mind that our perspective is biased. It's easy to focus on the Holocaust and the Japanese atrocities in World War 2 and forget that these countries, like all countries, participated in global politics before WW2, and that many of their actions leading up to the war may have been motivated by strategic interests, not ideology.
I'm reading a book right now on the history of the Japanese navy from the Meiji Restoration up through the beginning of WW2. Japan had a history of intense rivalry between the Army and Navy, going back to the 1880's at least. The army was focused on the East Asian continent, and saw Russia as the main threat. The navy was focused on south Asia and the Pacific, and saw the USA as the main threat.
One of Japan's big weaknesses as an island nation was a dependence on foreign, overseas trade for most raw materials, and crucially, oil. The two major sources of oil available were in Southeast Asia (Borneo, Indonesia), and from the US. Given that Britain had strong interests in Southeast Asia itself, e.g. Singapore and Malaysia, this put Japan into potential conflict with Britain itself. But the main threat was the strong US presence in the Philippines and Pacific Islands, which stood in the way of Japanese expansion generally, and access to oil and resources further south in Borneo and Indonesia. Thus from the end of WW1 and through the 20's and 30's, the navy prepared for war with the US. Training, strategy, procurement of ships were all focused on a trans-Pacific war with the US.
Given that this thinking was in place long before Hitler rose to power in Germany, I think it would be hard to say that any ideological commonalities you might find are much more than convenience for an alliance driven by a common set of enemies: the US, Russia, and Britain.