The can ask but your phone maybe doesn’t have to tell them by default / you can opt out

Yes but phone carriers are required by the FCC to achieve specific deployment goals. Also it isn't just about GPS data, it also include barometric data.

https://www.theindustrycouncil.org/post/911-location-accurac...

Sorry, looking deeper, it doesn't look optional.