My DS5 does the exact same thing. Has since day dot
He's at the age now I am trying to discourage it.
But I can't be everywhere at once, and as with your DS it's when he's tired or going to sleep