The lists of smartphones on the Postmarket OS and UBPorts websites can be used as a basis. Theoretically, you can use for experiments phones that come with alternative firmware directly from the factory. OnePlus, for example. You could buy a Pinephone and experiment with mobile Linux.
Have you heard anything about uBlock origin, Ghostery and similar programs?