Energy logging over time period not a specific time

Some energy readings are received for a long period, for example in the UK gas readings typically received at 30 minute intervals.

Currently in HA this can skew usage graphs. Gas used at 08:40 may not come through in a reading until 09:05, and it is then apportioned to the 09:00-10:00 graph column in HA, as opposed to the 08:00-09:00 one.

To account for this, could HA allow readings with a from/to date in them, and then apportion the usage equally over that time period? For example if the time period was 30 minutes, then maybe create 30 sample points at 1 minute intervals, all “usage / 30” value.