Is there way to repeate the BeforeSuite method in case of failuare

Sometimes initializing the driver fail before starting the test in the beforeSuite
is there a way to repeat the BeforeSuit method in case of failure, something similar to RetryListener in TestNG

Nothing preventing you to catch fail in beforeSuite and retry.
But it is better move driver start into beforeMethod. BeforeSuite used better for some general work like appium server start.
I am ising this and it helps great with ios driver start. Ios driver can sometimes fail. RetryListener works mostly on beforeMethod.