Sure, here's an example of a simple game that allows you to interact with a 3D ragdoll using JavaScript and HTML:
In this game, you can click and drag the blue square (resembling a ragdoll) on the canvas. The ragdoll's position will update based on your mouse movement. It should work on smartphones as well. Note that this is a very basic example, and you can extend it further to implement more advanced features and visual representation of a 3D ragdoll using libraries like Three.js.