Control haptic engine and force touch from terminal
Apple hasn't released an API for that, so the answer until someone reverse engineers it (or Apple releases an API) is no.

The best you can do today is read force touch but not influence the haptic feedback or modify that.


https://developer.apple.com/osx/force-touch/