Back when YouTube changed their video renderer making it trigger my symptoms, I wrote a desktop app to play YouTube videos through PotPlayer so I could mess with the video controls and try and find a pain free display setup
All it took was dropping the Saturation 50% (from 50%to 25%) and all YouTube videos became pain free. I've been watching daily for months with zero problems.
So whatever setup you have try dropping the saturation by 1/2 and see if it helps. I strongly believe that flicker/PWM/dithering has nothing to do with many of our issues and the problem is actually color temperature and rendering.