Personally wouldn’t do it x
I went to Majorca at 32 weeks pregnant. I had no problems. Just wear flight socks and keep hydrated!
I flew 36 weeks pregnant 2 hour flight, I was very small so I didn’t even look pregnant so no one asked. It was fine, I wouldn’t have done long haul at that time though.
No experience, but you'd have to get a fit to fly letter from your midwife. Travelling that late, make preparations in case you end up giving birth abroad.