Do you track exactly how much sleep you actually get? Like with a device, not with a journal. That sounds like you may be aren't getting enough sleep, consistently.
My total sleep time is about 6 hours. deep sleep is about 1 hour and 30 min. rem sleep is about 1 hour and 20 min.
I usually go to bed around 11pm and wake up at 6 am (give or take, I'm married)
It does however warn me about bad sleep if I've been drinking, have a fever, traveling across timezones, or staying up very late for some reason. One of these things may happen every 2 months or so.
I feel mentally good, I'm in shape and in general good health according to yearly checkups. I've been drinking coffee for about 18 years now.