Totally still possible! I did the same score comparisons last year for my subjects, and I was in the exact same situation for physics (I was literally 1 point off the A+ cutoff for both units 3 and 4). Long story short, they will scale based on how your school performs on the exam, so if you and your classmates are (or at least the top end) are performing well, it'll all work out. Just for a concrete example, I thought I totally stuffed the physics exam, as there were a lot of things I definitely stuffed up, but I ended up with 41 SS and A+ for everything( even though I was 1 point off A+ cutoff from previous year for GA1 and GA2). Also, this was still possible with someone who was ranked above me having a bad(ish) exam day (they ended up with 40). BTW, I don't know my exact ranking (probably at minimum 5th or 6th, best case scenario maybe 4th), but I ended up with 4th highest score. And this was in your average local public school, but like your situation, there were some really smart people.
So moral of the story, don't stress and spend too much time worrying about that sort of stuff, and consistent hard work almost always pays off
Good luck!