As a tech demo sure. But the current tech for this is much better where you just have a camera pointing at the trash falling, and either flipper paddles or air jets to push the trash in to the correct buckets as it’s falling.
I feel like robots that could do this with 100% accuracy might shine too bright a light on how well recycling currently works. And I say that as a proponent of the three Rs.