You may be correct.
Which MBPro do you have? Is it one with replaceable RAM? (the retina display models do not have replaceable ram, so would have to be 2012 or older model for this tip.)
You can try reseating the RAM, or removing one stlck at a time to see if that makes any difference.
And, try connecting an external display, if possible. That can probably tell you if the problem is the graphics chip, as an external display might show the same issues.