Acknowledging Tolis626 in his answer -- as well.
It once seem the case that RAM settings and CPU overclock settings were knitted together, ending with socket LGA-775.
Now -- these days -- it would seem that you can set aside memory-tweaking, setting it to stock or XMP specs, and focus entirely on the CPU.
But I've noticed some things with my sig-rig processor -- couple gens behind the latest Haswells.
By this example I explain it. My RAM settings of 1866, 1.5V 9-9-9-24 2T were effective when I first got the system to be rock-solid at 4.7 Ghz with certain VCORE offset and "Extra-Turbo" voltage settings.
Later or most recently, I set the RAM to the XMP profile giving DDR3-1866 speed, 1.5V, and "auto" timings (for everything) which yielded effective 9-9-9-24 1T (command-rate). Suddenly -- the processor needs more voltage to sustain stability testing, and the stop-codes were mostly "09C" -- indicating IMC or bus voltage deficiency. It was remedied by either bumping up VCCIO, settings affecting VCORE -- or more generally -- both.
I got rid of the 09c stop codes after bumping up VCCIO to an effective 1.12V; I got rid of all instability by adding about 10 mV to VCORE. I'm confident I could go back to CMD-rate= 2, drop the VCORE and VCCIO back to earlier settings, and all would be wonderful.
This is a very small impact of RAM settings on my general overclock. So to the OP's question, I could answer "YES," and I could answer "NO."
I've said here or at other Anandtech forums/topic-areas and just recently: You can get good RAM like these newer low-profile Crucial Ballistix 1600's running at 1.35V and 8-8-8-24. I'm guessing you can overclock them (at least!) to 1866 and 9-9-9-24 without bumping up the DIMM voltage. Maybe you could even get to 2133 with looser timings!
But given the time and trouble in testing large amounts of RAM, I'd just as soon spring for higher-rated RAM and pay the slight difference, then settle on running them at those specs -- with exception of the command-rate.
But again, and referring freshly to my example, I don't think your RAM specs are going to MUCH affect your CPU clocking potential. And basically, with my example, I'm not sure the command-rate change qualifies as "limiting CPU clock potential."