I am going to assume you mean that you want to know if person B can beat person A in their overall HSC mark which you are told in your Certificate and results sheet.
Simple answer, yes.
Although it is quite difficult as person A will get the top moderated internal assessment mark.