Tracking my sleep (via Apple Watch + AutoSleep app) has helped me drink a lot less. It's very noticeable if I have more than one drink.
Apple's Health app just tracks total time spent asleep which ignores my heart rate. My heart rate is always much higher if I've drank alcohol or ate something too close to bedtime, which AutoSleep uses to determine that my sleep quality is lower.