In a simple queue I can limit the node types that can be added to the queue. Is there a way to limit a simple queue to nodes that have a certain term(s)? I tried creating my own custom module that provides a smart queue and add the term condition in hook_nodequeue_subqueues but I couldnt figure out how to and midway it felt like the wrong approach.

Any solution even in code is appreciated.