Trying to rephrase the question...
What if a run of straight pipe is subject to first some thermal displacements and then second pressure? Would the bent "straight" pipe be subject to pressure straightening?
Yes, in theory.
But how much? Not much. Even for 90° LR elbows it isn't much of an effect except large bore thin wall. Unless you're dealing with high pressure, thin wall, large displacement piping it's probably not worth considering.
For an equation, see Section III Case N-319-2 which gives flexibility factors as a function of pressure (P), bend radius (r), and bend thickness (t). For a deflected straight pipe, r is going to be very very large to the point where I believe k approaches 1.0.
Rodabaugh & H.H. George wrote a paper on it that you might find interesting if you can get your hands on it. "Effect of Internal Pressure on Flexibility and Stress-Intensification Factors of Curved Pipe or Welding Elbows", ASME, May 1957. I have a blurb here (courtesy Ron Haupt) that references that paper but I'm not sure it is quoting or paraphrasing Rodabaugh & George:
"Although the flexibility factors and SIFs seem to change significantly, for thick wall pipe the combined effect has been thought to be relatively insignificant since thick wall pipe is often the pipe of primary concern as it is typically high-pressure, high-temperature pipe."
- Steve Perry