Most major game retailers did accept GameCube discs as trade-ins during the Wii era, largely because the Wii could still play them. So yes, the transaction was possible.
The catch was the number on the sticker. Trade credit for a used GameCube game was usually tiny — often a dollar or two for common titles — because the format was already a generation old and retailers had plenty of stock. Put that against the price of a new Wii game and you would walk out having shaved pennies off the total.
If the disc is something genuinely rare or in pristine condition with its original case and manual, it is worth checking a specialist retro store or an online marketplace instead. You will almost always get more selling it directly to another collector than handing it across a chain store counter.