Yes, admins can enable policy P19 to handle such scenarios. In case staff clocks in before their shift start time then their shift start time will be considered as clock-in time for worked hours calculations.
You can activate or deactivate this policy from the Settings > Policies section.