Yes, this is certainly possible.
If you need to exclude IP addresses from being used in the Macvlan network, such as when a given IP address is already in use, use --aux-addresses as shown in the code snippet below:
$ docker network create -d macvlan \
-o parent=eth0 macnet32
For a futher understanding of MacVLAN networks in docker, you could refer to: