Any work along these lines is going to depend heavily on the definition of "religious".
"Religious" people range from hermits who talk to just about nobody but God to people who dance ecstatically to people who run megachurches. How big is "theory of mind" in the hermit life? You cannot really put John the Dwarf and Billy Graham in the same basket.