It is possible to have a qualifying setup by optimising the suspension/aero for the tyre temp on the second lap out of the pits.
Im not sure if I would do that because your whole race would be compromised to some extent. But it seems to be working if you compare the results of the teamates.
But then again Ralph seems to spend more time off the starting grid than anyone else.