Can we use mongodb as backend instead of redis?
Simple answer is No.
There already exist a couple of mongo backed task queues on npm, however if they don't fit your, you should check Kue's code and propose a adapter-based redesign, with implementation specifics for job pulling in mind.