Apple sells an external trackpad. But AFAIK it requires the computer to have Bluetooth. Not sure how well it works with a non-apple os, though.
(like these: https://support.apple.com/en-us/102482 )
More info: https://wiki.archlinux.org/title/Libinput#Gestures