According to the Montana law a "debilitating medical condition" is needed to qualify and this includes "severe or chronic pain". So, looks like you would have a shot at it, depending on how the doctor determines your particular situation.

Montana Cares