No. The Flash brings his speed and his constructs, but wall-running isn't among his abilities in LEGO Batman 2: DC Super Heroes.
When a puzzle looks like it needs vertical movement, check the roster — the game almost always signals which character to switch to.