A better place to start is to understand how your undesired behaviors ("bad habits") are serving a purpose for you, and then through that awareness build a substitute habit or coping strategy. For example, you don't have a "video game addiction"; you have a coping strategy that worked well to buffet you against the pangs of failure as you struggled in high school. The reason failure hurt so much is that your parents only conditionally showed affection toward you based on your academic success, so you never learned how to unconditionally love yourself. As an adult with a job and a family, this coping strategy is maladaptive, but is the "best" way you subconsciously feel you can deal with the feelings that continue to well up.
Two books are How We Change [0] and Adult Children of Emotionally Immature Parents [1], although I'd recommend the former book much more to start with.
Side note: if you're picking books to read, make sure to avoid books with a big photo of the author on the cover. That's almost a sure sign of a useless personal growth book.
[0] https://www.harpercollins.com/products/how-we-change-ross-el...
[1] https://www.goodreads.com/book/show/23129659-adult-children-...