In theory an after logon trigger can run code for you, but it would be difficult to switch functionality like that on and off on demand.
Consider using an external table instead of SQL*Loader, and you can do just about whatever you like as part of the session.