Of course. It's really been the only way to book a hotel for at least a decade now.
Actually online aggregators are useful sometimes to catch specials from tour companies once in a while. Works if you are in a lazy mood at the time.