Custom action for custom gpt (assistant)

You might be able to answer this question here: Assistants API run needs webhook

Instead of polling the thread for responses, could an action be used to call a webhook that returns the response when the assistant completes it?