Bimmer-tech offers a product that will allow screen mirroring for the iPhone. I checked compatibility with my 2018 M550i and it says it will work, not sure about ID7 though? It's also a bit costly at $697.
https://www.bimmer-tech.net/products...-flex-bm16-id6