This is a pretty popular topic and similar questions have been asked and extensively answered in the past:
- https://forum.inaturalist.org/t/good-phone-for-macro-photos/44704
- https://forum.inaturalist.org/t/macro-and-telephoto-lenses-for-smartphone-cameras/9112/3
- https://forum.inaturalist.org/t/who-thinks-phones-can-take-good-pictures/36741/3
- https://forum.inaturalist.org/t/observing-arthropods-with-a-phone-camera/45921
- https://forum.inaturalist.org/t/hand-lenses-loupes-for-macro-photography/40225/7
And the rest of the search results for “phone” and “macro” (or pick your own search terms):
Of course, newer models have come out since some of these past posts, so there are unmentioned options as well.