GeoIP firewall on Homeassistant

Is it possible to add GeoIP Firewall to HomeAssistant? In this way it could increase the security of the access to the WebGUI, by defining which country IP’s could access.