I work full time on Design Systems for production applications and have for many years.
Check out https://interplayapp.com/ for a different take on how design systems should be created for use in Figma.
I think it’s telling that Figma can’t really do any of this natively and there’s a whole ecosystem of companies surrounding Figma trying to help it actually Do The Job. Zeroheight and Storybook/Chromatic being the other obvious examples.