Point-to-point interfaces between two containers?

I want to have two docker containers that are connected using point-to-point interfaces in each container. Can that be done? Or could I create veth interfaces connecting the two containers?