Is there a helper function I can use in config_flow
of my integration to identify the MAC address of a given host identified by its IP address?
No idea what is possible with functions and system calls, but what you are asking for is an ARP lookup, which is a standard network protocol, so look for that maybe.