Is there a way to interact with LAN and OpenVPN interfaces from an LXC container using raw sockets?

We have a project where we need to configure OpenVPN on an EX15, but run some code in an LXC container that can interact with the OpenVPN TUN interface and Ethernet interface on the host OS via raw sockets. Is this doable?