if she is doing it for comfort and cuddles maybe you could replace it with something else that gives you that closeness, like reading a book or something else she enjoys that is quite and close to you. Distraction is great for DD too!

We now tell her that Boobie is for bed times only, which she gets, although sometimes in the begining she would say, ''ok, can i go to bed now then''