Knowing in advance the type of response ur gonna get after posting this you should be able to figure out if you need to go to rehab. I'm sure everyone on here is gonna agree that your fam and your career is infinitely more important than any fun you're having partying, and at this point even you're admitting that partying isn't really worth it at all. Obviously I got no idea what you're actually addicted to (if its smthin crazy u might need rehab), but otherwise see what ur made of and test that self control. sounds like you wanna stop, so if you can't do it then maybe rehab is the right thing. You might be strong enough to do it on ur own if you really wanna change up though...
good luck my man