As an intellectual exercise, sure.
I don't have a crystal ball, but in my opinion, if you are asking in the context of employment, I think it's very hard to know, and I'd probably recommend against it if you are starting from scratch. Right now, I think that having experience with coding helps me work much more effectively alongside LLMs. Given the progress in the last five years though, I can't be certain that I will be needed in another 10 years. I already recommend against majoring in computer science with the goal of becoming a software engineer. I don't think that the role will go away, but the number of people needed might be much smaller in 10 years, and I wouldn't want to be a new grad in that kind of market.
> If you already know how to code, do you keep learning?
I'm sure others feel differently, but personally, I find it quite annoying to learn new things right now. 5 years ago, if someone came out with a new tool for say, durable workflows, or a new JS framework, I knew that they poured many days of labor and love into the project. They spent many hours thinking through what they were building and the tradeoffs and edge cases. Now, there's just an avalanche of new projects out there and it's hard to separate the wheat from the chaff. Personally, I'm more focused on developing soft skills right now.