Well no… it would be different if she were a health care professional, like a school nurse, trained to given the vaccine and the kid had specifically asked because their parents had denied them.
It’s the fact that she was not qualified to give the shot, and did it at her home, etc, that’s a problem. It can put the school in legal trouble (although, so would the school nursing giving a shot to an under 18 without parental permission).