Integrating PsychoPy eye tracking with a cheap webcam on a desktop computer?

You could try to tie into the https://webgazer.cs.brown.edu framework. Looks like there have been a few posts about it in PsychoPy with JS/Pavlovia.

This thread is likely where you should start

Additional examples: