There’s nothing that stops a FOSS app from doing that
I’m well aware there’s no technological obstacle. many people choose FOSS maps over Google to have less of their data collected though, so I could imagine they’d object to such practice, which would make the feature less effective.
AnySoftKeyboard