Heroku deploy failure for Strapi because of an unresolved module

Yes but instead of placing it in plugins you need to create a custom folder like packages and reference the package in your core package.json like "your-custom-package": "file:packages/your-custom-package"

Given anytime you change it locally you have to rerun an npm install or yarn install so it’s not ideal.