DHCP mac filtering

Hi, Is it possible to configure DHCP to offer IP in 2 different subnet by 2 different whitelist mac address table?
For example if mac address is in green table offer green subnet ip, if ma address is on blue table offer blue subnet ip.

Thank you
Regards

Mastodon