Noob question

Can I build a snap package for an lv2 plugin? An lv2 plugin is similar to a shared library (it is used by other programs in the system like Ardour or Audacity). Is this use case contemplated. I have already done my snapcraft for it but I had to use scriptlets in order to copy built files to the correct destination in the filesystem. This is probably wrong so I want to know if there is a way for this particular use case. Cheers!