Yes, this is possible. This might be of use to you:
https://github.com/jackyaz/modmon
http://192.168.100.1/getRouterStatus should get you a list of stats from your hub. I think it's in SNMP format, but I'm not sure. Feel free to look at the above to see how to parse it.
It's essentially exactly what you're after, but designed as an addon script for Asus routers running a custom firmware. However that repository should contain all you need as a reference to write something specific for yourself.