Legal as fuck.
I've refunded my house, my car and even my own dick thanks to Amazon and their friendly customer service, I've even managed to refund Amazon their own goods and items including a 30 foot Dragon Dildo. Also, you worded your OP incorrectly, you should have said "Is refunding an Amazon item fraudulently illegal?" not "HURRRDURRR".
Troll harder.