You cannot run server side custom code with Webflow. So NO this is not possible.
I suggest you leverage foxy.io as your cart which supports many many gateways and is easily integrated with Webflow.
You could also export your site, host it yourself, and build your own integration if you wanted to. That would require programming and would not related to Webflow at all.