Chafing of the display cable against the hinge area is a likely cause. The "fix" is to replace the display assembly, complete. That cable is surface-mounted to the display assembly, and Not repairable. You can connect an external display or TV set to continue to use the computer.
It is possible (but not likely) that other trivial physical issues such as cable loose at the computer-end might be causing such issues. If you have an Apple-Owned store available, you can make a Hardware-issue Genius Bar appointment for a FREE evaluation, and they can quote a FIRM cost to fix. You should take advantage of this service if you can.
It has NOT been acknowledged as a factory issue and no recall was ever issued, so none is likely to be issued.
Apple has already declared that no security upgrades or bug fixes beyond Monterey will be provided for 2017 and 2016 models, so certain packages will refuse to run on it, such as Microsoft office and Turbo Tax.
A new Apple-silicon MacBook Pro, or even a MacBook Air if not editing videos, is looking better and better.