That's an interesting thought and you could potentially even do that using commodity hardware.
You could create a sound file which first plays a few short beeps for synchronisation and then does a sweep of the full frequency range. You'd then play that file back in macOS and in Linux at the same volume and record it with a mic in a fixed position.
Then you'd take the two recordings, line them up using the synchronisation beeps and compare the amplitudes of any given frequency. From that difference you could infer the EQ you'd have to add on Linux to get the same frequency response as macOS.
I don't know how exactly you'd do the last step but it should at least be possible.
Mic quality (beyond a very basic point) or colouring should be an issue since you'd have the same mic frequency response in both tests and only care about the difference.
Kommt auf den politischen Willen an. Wenn die Stadt politisch am Auspuff der Autoindustrie nuckelt, geht das nicht. Grünflächen müssen da dem Parkplatz und der einen weiteren Spur weichen, die dieses mal ganz sicher den Verkehr verbessert.
Als ich in Amsterdam war, waren gefühlt 70% der Straßen zumindest Teilweise mit Bäumen überdacht und weitere 15% hatten zumindest kleineres Gewächs wie Büsche.
Hier random Bild von Wikipedia von einem random Wohngebiet in Amsterdam zur Veranschaulichung: https://en.wikipedia.org/wiki/Amsterdam#/media/File:Amsterdam_Cityscape.jpg. Unzählige Bäume überall zwischen den Häusern.