Export Figma design as Plugin commands

Is it possible to export an existing Figma design as a series of Figma Plugin API procedures?