Failed Login Attempts - Display custom message

Hi,

We have a requirement, to capture the failed login attempts and display custom message when login in with the ULP widget.

Is this doable without Auth0 OOTB bruteforce configs?

Thanks