Scripts/plugin in Rive

if I want to create scripts/plugin to add extra functionality in Rive. is there a way to go about it? For example: retain Figma auto-layout in Rive while copy pasting.