Yes you can take any Apple product to an Apple Store (or through online Store) for recycling. Refer to the FAQ on this page https://www.apple.com/shop/trade-in
Also if you get them repaired they take these in, but that becomes obvious when you go through the repair steps.