Is possible to run klipper thru a long cat 5e?

See ESP support (connection over wifi) for a possible solution.

From within the Klipper project, such a setup will not be supported. If it works, then be happy, if not you might need to find someone that is able to debug it.