Yep. I personally think Apple trade in is a better value as well as long as you intend on use it for an Apple purchase.
eBay/Swappa may offer a better price, but those platforms have their own fees (such as PayPal). Ideally, it would be $100 or so less than eBay listing you get to your pocket. That is without taking into the headaches if there is some scam on it.
Apple trade in at a store is the best choice.
The last two iPhones I sold on ebay were shipped to shady 'freight forwarders', which means they could have ended up in Russia, North Korea, Iraq, Afghanistan, etc. Apparently using such forwarding companies is pretty common, allowing, I'd wager, hundreds of tons of illegal tech to 'leak' to those countries, and others.