Can a student earn a weighted GPA for an AP class taken senior year?

Can a student earn a weighted GPA for AP classes taken senior year? I know that UC weighted GPA is capped at 8 semester units, so most students take their AP classes during 10th and 11th grade.

For UC’s, no as they don’t use 12th grade GPA in their calculations.