Find My can be disabled on macOS devices via an MDM configuration. This can be useful to Mac administrators who'd like to prevent end-users from signing into Find My (and enabling User-based Activation Lock) on company-owned devices.
The payload for Find My is com.apple.icloud.managed and can be created manually or via third-party profile editors.
As an example, iMazing Profile Editor has this payload, called iCloud Find My:
This is the result when the profile is deployed: