Especially for "consumer" facing government services like libraries and postal centers.
I think getting local governments to mix in more "official" functions might be harder since some of the legitimacy of those functions sometimes stems from the power signalling they use to distinguish the building from the rest of society -- e.g. courthouses tend to be big official looking buildings with lots of wood paneling in the courtrooms.
In Korea, where land is at a premium, you find tiny police stations all over Seoul, but even the very small ones tend to be stand-alone affairs. IIR courthouses tend to be either standalone or as part of larger local government centers.
http://img11.deviantart.net/5c0d/i/2013/337/5/1/police_stati...
https://s3.amazonaws.com/gs-waymarking-images/fb6d6675-11fb-...
In the backwaters of upstate New York, half the post offices are in leased buildings, including parts of private houses in otherwise residential neighborhoods.
So, you don't really need anything special to provision for local government, just a local government with tax dollars to spend.