Everyone has the potential to be successful at anything they put their mind to achieving. But that being said, you're not the only one who's struggled with mental hurdles.
The most important thing to understand is what your mindset is doing to dictate your outcome. A "fixed mindset" is very black and white/ all or nothing. This way of thinking is hyper-focused on insecurities and perfectionism. When locked into thinking about and anticipating failure, inevitably something will happen that creates it.