You can, both subjectively (there are quite a few pain rating scales) and objectively, on fMRI and PET. But it's expensive. So in general, of course, it's complicated. However, pain is a very complex and complicated thing.