I'm using real-time sentiment analysis in routing rules but wondered if it's possible to use previous negative sentiment from the customer to route to a different queue?

I'm using real-time sentiment analysis in routing rules but wondered if it's possible to use previous negative sentiment from the customer to route to a different queue?