Agent availability for Chat

Can I get the agent availability from multiple queues every few seconds in order to enable/disable chat button based on the availability?

What do you mean? Agent doesn’t logging to RPs, nor Queues on MCR.
Which chat button??