Wakeup alarm exact after x hours of sleep

Morning,
I had the idea that there is an alarm clock function,that will wake you up x hours after you have fallen asleep. So that in the end you can perfect your sleep rhythm.

Kiwi