Avengers: Infinity War writers Stephen Markus and Christopher McFeely make it clear in their commentary track for the Infinity War Blu-ray that this is not the case.
Clearly, nobody told Taika Waititi where Ragnarok needed to end so that Infinity War would start in the right place.
Instead, the pair are hitting a moving target, apparently making changes to the opening of their movie several times as Thor: Ragnarok makes changes to its own story.
There’s a perception that the Marvel Cinematic Universe is largely set out in advance and that major overall plot points are handed over to filmmakers, with a need for certain films to deal with certain characters or plots in order to make them fit properly into the larger story.