Home Assistant OS as guest where DietPI is host?

that’s the deal with running HA core only

you would need to reinstall / reconfigure ifupdown and remove NetworkManager. I don’t have a guide at hand. Usually ChatGPT is able to bring up something.