Configuration to use a wifi AP as your router's WAN?

Yes. Typically you'll need to use your computer/phone connected to your OpenWrt device (which is in turn connected to the hotel wifi) in order to access and submit through the captive portal.

https://openwrt.org/docs/guide-user/network/wifi/connect_client_wifi

There's also a package called travelmate which is designed for this type of application: