Yes, if your SIP installment fails after funds have been added to your ledger, you can withdraw the amount.