If you have a problem with an addiction then the best thing to do is stop.
Yes it can cause strains if your partner doesn't support you but at least tell your partner you want to quit and ask for their support. I would not expect your partner to quit with you - only they can make their own decision.