I don’t see why not. You could serve as support systems for each other…
Since masturbation is a ‘solo’ act, it doesn’t require one to be dating anyone for it to continue. So, dating someone could help one to overcome the habit.
DISCLAIMER: Catholic Answers has turned over the archive to Catholic-Questions.org and no longer owns, manages, or moderates the forums. For additional apologetics resources please visit www.catholic.com.