It is possible to implement Sonata Stats on an external server, for which we recommend taking a look at the following Blog:
https://vitalpbx.com/blog/install-sonata-suite-on-an-external-server/