Is it possible to offer flat rate shipping and tie it to a coupon code?

For example, I'd like to be able to offer first time customers flat rate shipping and use a coupon code in order to track its use.