If AI becomes good at doing that and fixing bugs, then sure. But there is no evidence pointing towards that as of now. Mostly only slop.
It's like the old story about hiring a carpenter who just hammers in a nail to fix a squeaky floor. The difficult part was finding where the nail needs to go, not necessarily the hammering.