You can do it that way but it’s not the easy path. I think the problem with the tool is that Figma makes it too easy to make polished interactive designs that look
done. The easy path is just to skip the wireframe, so by the time the programmer gets involved, the designer and management has already fallen in love with what appears to be a final product.
If figma was built on top of HTML and CSS—and so couldn’t represent designs that HTML and CSS can’t, this might be less of an issue.
Granted it would still be a problem because there are always underlying technical and processes issues that should be uncovered before you leave the wireframe phase that have nothing to do with HTML and CSS.