If you can which one?
Here's an article from the old forum that explains the options for setup:
[https://support.native-instruments.com/hc/en-us/articles/115005166305-How-to-Configure-Sustain-Expression-Pedals-on-a-KOMPLETE-KONTROL-Keyboard?_ga=2.201929433.955282210.1653100029-1816333201.1653099959]
I have a composer friend who (to the best of my knowledge) managed to get a Studiologic VFP-3-10 to work.