Teams does not seem to be able to do this. You can, however, install OBS studio and use that to crop your camera feed and then create a virtual camera output of the cropped feed. You then select the virtual camera from inside teams.

The problem with this is that OBS studio introduces a small time delay (about 300ms) which is annoying.