One way is to stay in youth hostels or sharehouses, where many travelers, usually solo, are ready to share their adventures, do activities or book multi-day excursions. You can also check out sites like MeetUp or Tokyo Gaijins, which organize meetings and activities all over Japan!