Yes, particularly with opioid analgesics. Tolerance occurs when the body becomes accustomed to the medication, requiring higher doses to achieve the same effect. Dependency, on the other hand, is a physical or psychological need to continue using the medication. Both tolerance and dependency necessitate careful management by healthcare providers to ensure effective and safe pain relief.