One simple question Overlay and Macvlan on same container?

Is it possible to mix on same container overlay cluster networks and macvlan networks (they are host related…so??).
I have tried this environment deploying an application where there must be some “edge” containers with specific IPs on specific VLANs…
Is it possible?.
Javier R.