Is it possible to run Puppeteer in an API route of a NextJS app on Netlify?

Great to hear it worked @Philippe

As for the new error, suggest having a read over the thread Runtime.UnhandledPromiseRejection on my Next.js app.

There are also some other threads with this error, namely NextJS cryptic React error on refresh and Next.js deploy fails on webpack build.