Sure, but the streets are littered with once-hyped Yankee pitching prospects who fizzled out after they were dealt for productive major leaguers.
In the last decade, they've traded Chance Adams, Manny Banuelos, Corey Black, Vicente (fka Jose) Campos, Cody Carroll, Chandler Champlain, Ian Clarkin, Roansy Contreras, Caleb Botha, Rookie Davis, Philip Diehl, J.P. Feyereisen, Giovanny Gallegos, Jorge Guzman, Jansen Junk, James Kaprielian, Luis Medina, Bryan Mitchell, Nick Nelson, Hector Noesi, Vidal Nuno, Glenn Otto, James Pass, Elvis Peguero, Jose Ramirez, Josh Rogers, Reiver Sanmartin, Justus Sheffield, Chasen Shreve, T.J. Sikkema, Caleb Smith, Erik Swanson, Dillon Tate, Alexander Vizcaino, Arodys Vizcaino, Ken Waldichuk, Beck Way, Tyler Webb, Hayden Wesneski and Miguel Yajure.
That's a mostly comprehensive list of Yankee farmhands who were traded for something (rather than a PTBNL), and obviously their prospect statuses vary. Gallegos, Swanson and Vizcaino have been very good late-inning relievers. Smith and Kaprielian each had a useful year in their team's rotations. And the jury is still out on guys like Contreras and Wesneski. But that's pretty much it. (Not saying the Sox have been better either.)
You really gotta go back to the Max Scherzer/Curtis Granderson deal, where they gave up Ian Kennedy, to find a former Yankee prospect pitcher who turned out to be a useful starter for his next club.