The immigration officer won't accept your application unless all the hotel information for accommodation are provided.
It is good to apply after the itinerary is fixed. The visa to Japan is so difficult to get, take about one week. So you should have plenty of time to do it.