I'm going to go with the carefully-worded answer, "it can help to mitigate". Not it will, but it can. It's possible. While the knowledge itself won't likely prevent anything, actions taken from this knowledge/observation can help, like getting a med change or checking with others for feedback.
Like Sad Mermaid, it might be recognizing hypo coming on by wanting to buy something. I've tuned into this one over the years and I'm like 10 years out from dx too. It takes time, and some signs will be easier to recognize than others. WANTING to stop is another matter altogether. I'll often talk myself out of seeing sense. Which is where input from others really comes in handy. Even with dx and knowledge, being "sensible" will still be a challenge, but you'll be in a better position for the fight.
A lot of books is a sign here too. Before the internet, I'd pretty much be waiting at the doors for the library to open once I got some burning idea. And proceed to clear off the subject shelf, lol.