Can foreigners get a pension in Japan?

Can foreigners get a pension in Japan?