I’ve found that my skills as a writer and editor (and being good at communications in general), are valued much more in my current job (I work in DevRel and intersect engineering and product) than I ever expected.
Rather than leaving tech to turn to writing, perhaps you could find opportunities in your current job to write. Even something as seemingly benign as documentation is something! (And in truth, we need more good writers and editors working on documentation. It’s not sexy but it impacts so many people and often the difference between good and bad documentation is the ability of the writer/editor.)
I’m also a big fan of scratching my creative itch with side-projects and then seeing if that passion leads you to wanting to do something full time. That’s what led me to professional writing to begin with.