If you are using a more recent version of Phoenix, then no.
A couple of versions ago, it was replaced by esbuild.
If you need extra packages for your app, check out Asset Management — Phoenix v1.7.14
The core team moved away from bundling webpack(?) configs to a more deterministic way with esbuild and storing third party javascript in /assets/vendor.
I prefer to use npm to manage my js dependencies, rather than putting the third party js in /assests/vendor, and leave esbuild to do the building.