Question about taking 2 Online Courses(UC)

So I am currently a sophmore who will be taking 4 AP’s in school next year, and I plan on majoring in history, however I am late to the game and I want to go to a UC so I have to take AP art history as one of my AP’s next year and take a third year of spanish . I plan to take AP psychology and AP world history on VHS next year, however my question is does my school have to know I am taking these courses online? I will take the AP tests with them, which I can take at my school, my question is am I able to report my grades to UC (the coureses are a-g approved) and have my high school not know I am taking them, as they would probably be mad I am taking more then 4 ap’s

The principal question I am asking is can I take 2 AP a-g courses approved by UC on VHS without high school approval.