Is it possible to set vector path points with JavaScript?

no direct support by Hype.

simluar question and an approach:

hint:
you may want to use a js-chart-library (billboard or others ...) or may be svg.js

https://svgjs.com/docs/3.0/shape-elements/#svg-polyline