Is there a way to limit the number of gift cards that can be used in a single transation?

I am using Magento 2.4.2 and I am wondering if there is a way we can limit a customer to being able to use one gift card when they go to checkout?