Not that I'm aware of... I've never heard of any SAP customer implementing EDI without some kind of middleware in between. It's always either a 3rd party app or XI/PI.
What is the customer using to connect to your SAP system - RFC? Maybe it's possible to trigger some program at that point... Customer number is one thing, but how would you process IDoc without a port? Isn't it a required field?