Generate and email coupon code to customer after they purchase full price item
In Drupal just about anything is possible but you'll need to provide more context otherwise people won't answer you. 

Drupal 7 or 8?
Are you using Commerce or Ubercart?

In any case, the Rules module might be what you are looking for. It has the ability to act on different events.