There are many hotels from budget to mid-range normally, that offer discounts at the front desk v online. It varies greatly and depends on the season, hotel etc.
There can of course be properties where the yield can be attractive. But we have to speak in general terms. Bangkok isn't known for high returns in the property market.