Raspberry HA OS connect i2c ina219 - it is possible?

Hello. is it possible to connect directly to raspberry 4 whit HA OS using i2c ina219 device to measure consumption? Without using esp device in esphome? Similarly, how is it possible to connect a single wire device dallas temperature sensor? well thank you