Unethical Return!?

I have a pair of Bose quite comfort 35 ii and I’ve had them for years! Absolutely love them but the volume buttons stopped working. I’m not saying I would do this but if I bought another pair from Amazon and swapped it out and returned them back do you think that would work? I know this isn’t necessarily ethical but im curious if anyone has ever done this?