Ability to sell gift cards

Would it be possible to add the ability to sell giftcard items?

Ofcourse we can already manually add these, but then it would also require us to manually create a one-off promotional code.
Is it possible to automate this, so upon purchasing the item, the customer automatically receives an email with their giftcard code, which the system has generated?

This would allow us to increase revenue, since;
1) If people want gift something from your store, they don't have to pick themselves -> more sales
2) People instantly get something to give to others, rather than having to wait for 4 weeks.
3) People have a tendency to forget about gift cards, so they expire. Cash in, but no cash out!