Sure it can be local - in the sense that all control and scrapping lives on your machine.
But in general, OK - some things are better done via an on-line service. But it's the minority of cases - almost none of IoT devices have a legitimate reason to route control and diagnostics through the cloud.