No, an SSL encrypts the information what travels among the visitors of your website and the hosting server. A hack is done by accessing to the files of a website, and that is not related with an SSL.