Can you buy the game as gift?

Is it possible to buy as gift code or something and how?
Thank you!

I saw that Xbox Insiders are currently testing this functionality but it is not currently available in the Windows Store.