Gitlab CI - Enable manual action only if previous action failed

Is it possible to enable a manual action only if a previous (automated) action failed?

We use automatic deploy with hot code upgrades on Elixir, which sometimes fail (e.g. Erlang version changed or some library doesn’t support it). If, and only if, automatic deploy fails, I want to be able to trigger a downtime deploy (with restart of the application) from the Gitlab CI interface. If the automatic deploy succeeds, this option should be disabled and ignored.

Is it possible to achieve this with Gitlab CI currently?

Thanks in advance!