There's already Paper Design and Subframe which handle design to code better because they're built for it. Figma is slow and not building what they need to build to keep up. Perhaps they'll make an Adobe and acquire one of these.
Paper Design etc all have the same fundamental problem as Figma - they’re designed for a process that won’t exist as we know it within a few years (and arguably half way there already). All of these canvas-based design tools assume that people want / need to directly manipulate things on a canvas fist before building vs going straight to building it (and by building I also mean you can ask Claude to build you 10 prototypes for different directions so exploration is not dead, just starts elsewhere).
Paper is canvas-based but code-first. Subframe is not canvas based and is fully code based. And yes, designers will always need to be able to directly manipulate the canvas for some things.