Is it possible to set that no phone numbers are recorded (incoming/outgoing)?

Yes, the recording of incoming and outgoing calls can be deactivated in the COMpact 4000/5000/5200/5500 and COMmander 6000 PBXs under User data / Call data / Settings.