Sure, I believe you can rigorously find brain patterns that are correlated with understanding. The obvious, "correlation is not causation" applies, however.
The problem is such pattern aren't any guarantee of understanding. Just "feeling confident" seems like such an easily correlated thing. More people who learn a subject sufficiently to do well on a test might "feel confident" but certain kinds of people might just feel confident without that actual learning.