IIRC, PascalScripts provides a number of L/VCL controls by default (buttons, stdctrls, controls, forms, graphics, menus). see all uPSC_xxxx/uPSR_xxxx files.
So writing an application plugin as PascalScript (in either binary or source code form like Javascript) should be relatively easy thing to do.