Yeah. I lived in Tokyo for 6 months as a digital nomad (so still working for an overseas employer.) As much as I love Japan, after hearing what the work culture is like I became pretty sure I didn't want to move there permanently. Not only is it an extremely unmeritocratic environment, the pay for software engs is rubbish. As a foreigner you'll more than likely be treated like dirt and passed up on for promotions.
I think it's a shame because Japan is going through a massive tourism boom at the moment. There's surely a huge number of incredibly smart and talented people who would like to bring their skills in and help lift Japan out of its economic slumber. But Japan is still very closed off and shows no signs of wanting to modernise.
I’ve heard people argue that Japan stays appealing because it is closed off and puts effort into maintaining their culture instead of modernizing into a generic western melting pot.