Movie with a device to feel what someone else is feeling

I remember watching this movie with a device that lets you "connect" to someone else and feel exactly what they do in that moment. Mainly it was focused on the physical rather than the emotional state. I vaguely remember the protagonist being addicted to pain or something, and harm himself or others while wearing the device... Something along these lines. It's a really hazy memory. Tried chatGPT, but no luck after a few prompts it suggested Inception.

Please help!