It does sound like Uhthoff’s phenomenon. I have the same effect – and lots of other weird things . My colour vision which is normally fine goes completely black and white, among other things.
I gather in the days before MRI scanners it was used as part of the method of diagnosing MS. If you had apparent MS symptoms they put you into a hot bath and saw if the effects got worse, then improved when you cooled down again