Buying / owning a hotel in Taiwan

Wanted to know if anyone out there has any experience of buying (or even renting) land or property for touristic purposes (ie as a hotel) as a foreigner in Taiwan. Is this allowed? Are there any restrictions on the kind of land you can use (ie could you just buy farmland and build the place yourself?). Any other pitfalls or problems I should think about? Thanks