Can Plasmic's base component be used in code?

Is it possible to use Plasmic’s base component in code? Background: i want a wrapper component that can toggle between the default width and the “full bleed”, kindof like just using plasmic’s vertical layout component