Yes, you are absolutely, one thousand percent right. Of course he must not do anything that violates the terms of his visa. However, I am sure that there are volunteer research opportunities for high school level students (which usually are not paid, anyway) that he could participate in, and use to improve his application credentials, during the time while he is waiting for his imminent green card.