Yes, it can.
You modify the configuration.yaml file under /share/zigbee2mqtt/ and add the following under the occupancy/motion device:
occupancy_timeout: 10
See here:
https://koenkk.github.io/zigbee2mqtt/configuration/device_specific_configuration.html
Don’t forget to restart the addon after making the change.