P1-port data as a replacement for Fronius smartmeter

I’m finalizing my solar project and just installed a Fronius Hybrid inverter without the Fronius smartmeter (due to lack of space & re-certifcation). My standard digital meter has a P1-port which I use to monitor the power and gas consumption.

Is it possible to use the available P1 readings to control the Fronius Hybrid Inverter (combined with home assistant) to optimize energy flows ?