Well I played blackthordprod's second to last game on itch yesterday, its on webgl and there was a custom cursor so its definitely possible. I didnt really look into it maybe he explains how he did it on his channel good luck