Import historic sensor data

My scenario: I have an smartmeter issued by the power company. however its too far away to get a live reading, but I can use the web-api of the customer portal to get the datapoints (every 15 min) of the past days.

Is there a way to import this data into home-assistant and map it correctly as historic data?

No. Sorry, there is no provision for this.