It is not possible.

In Shopify, you can check "shipping required" when registering a product.

However, for digital products, shipping is not required, so you should not check this option when registering the product.

If you purchase a digital product as an e-gift, an error will occur.

Therefore, please do not set up e-gift settings for products that do not require shipping.