Humans have evolved to sleep best in a cool, dark, and cozy environment. Try to keep the car as dark and cool as possible while you sleep, and use a weighted blanket to help you feel cozier (unless it's too hot).