It means that the boundary between pleasure and pain becomes blurred, pain can become pleasure. Also to 'push your boundaries' is to try new, difficult, and challenging things, which is also applicable here.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.