Bind container to use specific network interface for egress?

Is it possible to use a specific network interface for egress traffic? My containers make network requests, and I want some to only use ethernet while some others should only use wifi. Is it possible to accomplish this?