IR talking to rewards platform

I am building a rewards platform based around recycling. Can I use arduino to have an IR sensor that detects bottles being dropped into a bin to talk to our rewards platform to award the user points on our platform?

Yes, but having the sensor tell whether or not it is a bottle, is not so easy.

Thank you