If the card can be used in an Apple retail store (i.e. not an iTunes gift card), then yes. Repairs are treated as an in-line item in their POS system. Any valid form of payment that could be used to pay for anything else in the store can be used to pay for repairs.