In version 4.11.20210226 when I used to press “F” while placing the mouse cursor on top of a model in the 3D view, the camera got centered where I pressed the button.
Is there any way to set up a keyboard shortcut (using a python script) with the same functionallity?