Wring an integration. Dynamic sensor creation

I am trying to write an integration that reads serial data and populates 100s of different sensors. I want the integration to create the sensors dynamically using a name found in the serial feed. Is this possible? If yes can someone point me to a sample in github that does this. TIA