Unfortunately not, since iOS does not allow third-party apps to access the APIs required for Wi-Fi scanning. I think Bluetooth could be done, but bluetooth beacons by themselves aren’t as useful.
From the beaconDB Matrix room (somebody recently asked the same question):
Buying a Pixel is a good idea, especially if you put GrapheneOS on it. It’s by far the best mobile operating system I’ve ever used.