Haven't tried it myself, but a few things to consider:
If you had the two devices with line of sight to each other in a very very large open space, then there should be a direct relationship between RSSI and distance. However that is nearly never the case. With obstacles, reflections, multipath, and more, there's significant variation in the observed RSSI.
Take your favorite phone, and download a BLE scanner on it, which shows RSSI (e.g. nRF connect, but there are tons of others). It'll probably discover a good handful (or a wheelbarrow, depends) of devices around here. Observe the RSSI variations of any device while not moving at all. You'll notice that spreads which are easily over 10 dBm, sometimes a lot more. Remember that 3 dBm means a factor of 2 and 10 dBm a factor of 10. Note however that you can't compare the readings of two different devices: different TX power, different antenna...
Now start moving your phone. Turn around so that you are between the device and the phone. You can keep your phone in the same place and observe a drop in signal strength.
So no, you can't get any sort of accurate distance just from the RSSI, though you can get a vague idea.
Another reference point: Apple's Core Location framework, when it reports a beacon, only reports the following proximity values (iBeacons advertise a calibrated RSSI at 1 m to assist):
- The proximity of the beacon could not be determined.
- The beacon is in the user’s immediate vicinity.
- The beacon is relatively close to the user.
- The beacon is far away.
They state:
Ranging reports when the two devices are far apart, near to each other, or in the immediate vicinity of each other; it does not offer a precise distance, nor should you rely on the strength of a beacon's signal to compute that information yourself.
So after experimenting with a pair of your own devices, you could determine a threshold over which you are sure that the devices are within a given distance. Depending on your goal, you could be very lax or very restrictive, it's up to you. But don't expect something more accurate than "very close", "quite far" and "somewhere in between".
(Things are different if you have multiple beacons in range and a fingerprint of the area, but that's a completely different topic).
As for max range, that depends a lot on TX power, antennas, sensitivity, cases, relative position, and most importantly obstacles. I've seen BLE devices unable to talk to one another beyond a few short meters, and I've detected BLE devices 20 meters away across many obstacles, possibly more. Only experiments with your chosen devices in the target environment/context will get you a better sense of what is possible.
Without obstacles with high TX power devices you can supposedly reach hundreds of meters with line of sight, but of course this is a scenario that never happens.
One important thing to note is that for detection to happen, you need to advertise and scan. Battery-operated ESP32-based devices are pretty bad at that, as unless I missed something, you can't do that in combination with deep sleep. So you get a pretty high power consumption, and you probably won't last more than a few hours on any battery that would fit in a wrist-mounted case.
Nordic Semi chips of the nRF5 series are better at that, though there are quite a few other options. Wrist-mounted options based on the nrf52832 include Espruino's Bangle.js, though it features quite a few things you might not need (GPS, heart rate monitor, accelerometer, magnetometer...).