User configurable MQTT server via GUI (like Captive portal for WiFi setup)

Hi all, any chance to configure MQTT server settings by user via web GUI (like free text input or so)? I’m building some boards which require to set WiFi by user and would be perfect to have such option for MQTT as well. Thanks for any suggestions!

I know I can configure host like “mqtt.local” and ask user to create DNS entry for it, but that isn’t user-friendly solution.

Knock knock, any hints? Thanks