I too had the same question years ago, the answer is "No"... Even though Xbox gifting is just as simple as Steam or Blizzard game gifting.
It is but i believe it also gives the gifter access to the code as well correct? Last time I remember it allowed me to also see the redemption code for the gifted game. I could be wrong though haha