Awake monitoring via bluetooth signal strength

I use a sleep phaser and ble wrist hrm and find my awake state is not always captured, esp when i leave the room for a bathroom break.

I understand that awake monitoring can be a problem when not using wrist based activity trackers or manually pausing the session when temporarily leaving the room. Would it be possible to monitor a ble hrm device’s signal and pause tracking when the signal decreases or the device disconnects? And restart tracking when the signal is reestablished? Could this also help with device reconnection?

I notice several health apps can notify when a disconnect occurs and also when reconnected.