Not really, no. git grepcan search in any specific tree (therefore, in any specific commit, since each specific commit identifies a specific tree), but to iterate over each commit contained in a branch, you will need to create your own git rev-list:
git rev-list branch | while read rev; do git grep <regexp> $rev; done
for example (but you may want to come up with this more so that your grep stops as soon as you find what you were looking for).
, <branch>, ( ) <regexp>, :
git grep <regexp> branch
, .