Yes, it’s possible. If you haven’t crossed the refund period, just ask for it. Once the refund is complete, remove your credit card from the SiteLock account.
In case you’ve crossed the refund period, consider disputing the charge with your credit card company. HostGator or SiteLock won’t have a choice other than to refund your money.
To give you an idea, here is a conversation of a HostGator customer with the support team concerning the refund of money: