I always use Amex when I buy online from Costco.
Never had a problem returning in store, but, I suspect you will be getting a gift card rather than cash if you return anything costly.
So, practically, it may not work. And, ethically, rather dubious, at best.