Can apple's healthy sleep be recorded?

You can't.

You can only use bedtime mode to track your sleep.

The best sleep time for children 10 hour and adults 7 hours. If you sleep eight hours a day, you will spend one third of your life in sleep. The quality of sleep is closely related to people's psychological and physical health. Sleep has four elements, which have a great influence on sleep quality.