Can I install a custom plugin for digikam?

I had made a customize plugin to boost digikam. This plugin’s location for native app is /usr/lib/qt/plugins/digikam/generic. Can I install this plugin to a snap app?