Yes.
1. Add the gift.
2. Add or renew a membership, entering the information
3. Click the Links to Gifts button
4. Select the gift and enter the amount of the gift to apply to the membership
5. Repeat steps 2-4 until all of the money is allotted