I did that when I was in school.
.
Yep— your hand on your forehead, ( like a salute) as you said “ I pledge allegiance” —— and then the outstretched arm, as you said “ to the flag”.