there are hotel booking sites through which you can book, get an email confirmation( which you can present to the respective consulate) , and then cancel the rooms for free prior a day or more of arrival.
It depend on the hotel's booking policy. try HRS.com