The danish government has been doing that for a while, with open data available per region:
https://en.ssi.dk/surveillance-and-preparedness/surveillance...
They also lead the EU wide project to track infections across the largest cities across europe: https://en.ssi.dk/surveillance-and-preparedness/internationa...