One solution I implemented uses keystroke events as shown here to reset the target position at least along the X and Y axis
keys = p.getKeyboardEvents()
cam = p.getDebugVisualizerCamera()
#Keys to change camera
if keys.get(100): #D
xyz = cam[11]
x= float(xyz[0]) + 0.125
y = xyz[1]
z = xyz[2]
p.resetDebugVisualizerCamera(cameraYaw = cam[8], cameraPitch= cam[9],cameraDistance = cam[10],cameraTargetPosition=[x,y,z])
if keys.get(97): #A
xyz = cam[11]
x= float(xyz[0]) - 0.125
y = xyz[1]
z = xyz[2]
p.resetDebugVisualizerCamera(cameraYaw = cam[8], cameraPitch= cam[9],cameraDistance = cam[10],cameraTargetPosition=[x,y,z])
if keys.get(99): #C
xyz = cam[11]
x = xyz[0]
y = float(xyz[1]) + 0.125
z = xyz[2]
p.resetDebugVisualizerCamera(cameraYaw = cam[8], cameraPitch= cam[9],cameraDistance = cam[10],cameraTargetPosition=[x,y,z])
if keys.get(102): #F
xyz = cam[11]
x = xyz[0]
y = float(xyz[1]) - 0.125
z = xyz[2]
p.resetDebugVisualizerCamera(cameraYaw = cam[8], cameraPitch= cam[9],cameraDistance = cam[10],cameraTargetPosition=[x,y,z])