While hotels directly offer loyalty programs, third-party booking sites do as well.
For example, loyalty members with Hotels.com can book 10 nights and get one for free.
The 10 nights can be mixed and matched in different locations.