Is there a way to enable pressing/releasing shift to Pan while already rotating, without having to release the middle mouse button? new to Blender 2.82

Basically just wondering, if I am rotating around my object, is there a way I can press shift while still holding the middle mouse button, and enable it to start panning?

It feels very awkward to have to release the middle mouse button, hold shift, then hold the middle mouse button again, then if I want to go back to rotating I have to release shift and the middle mouse button.

It just feels like there is a way to enable this perhaps, but I could not find it in the preferences
Under User Preferences > Keymap navigate to 3D View > 3D View Global.

Look for the operator Rotate View and under it expand View 3D Rotate Modal.
Add a new entry there with the sub option Switch to Move



You may optionally want to add one to View 3D Move Modal too, for equivalent behavior.