Yes, you can live in Japan while working remotely with a Japan Digital Nomad Visa. The Japan Digital nomad visa allows you to legally reside in the country for up to 6 months.