No, if you have a discount code, you will not be able to use it and also redeem points for the same order.