As an aside, how are software engineer salaries in Japan?
That said, 10M is of course not impossible, but in my experience it is mostly reserved for larger foreign companies, the banking sector or if you somehow manage to get to an executive level. And maybe a handful of very specialized very well funded companies.