Better to spend more time and money building the right thing than wasting time building the wrong thing.
It's not an official advice to anyone, but if you see what can be improved in your workplace, then go improve, but blindly accepting a position may throw you in your personal hell. All many years before I went that route, invested my time in tools and approaches and it paid back making me and my coworkers happy to do our job. High-stake goals do not work that way, and I can't clearly see what you can achieve by breaking yourselves core. For me it seems like a path to personal failure while making some "dirty" money. Reality strikes back.
This is my personal anecdote on this subtopic, ymmw.
Technical line management is a separate skill set to product & project management, dumping all that on a new manager is an express ticket to burnout city.
edit let's also remember that being promoted from a senior engineer/tech lead to dev manager means you need to find a replacement to hand off technical responsibilities to, managers can't time manage & code and expect to excell at both.
Here you go, the simple formula for your management success: it's more software, of better quality, made faster, for less money.