Yes... just filter a recordset with the value saved in the session and then save another session variable with the coupon amount from the returned recordset.
Use the coupon amount variable when defining your cart discount and that should complete the loop so that your coupons can be database driven.