Yes, gift cards are a form of payment so you can use a gift card together with a discount code.