While tourists cannot get a standard Japanese phone number, they can opt for short-term options like SIM cards or rental phones available at major airports and electronics stores.
Check this Coto Academy blog: Stay Connected in Japan: Sim card, Pocket Wif, and more for more information.