Ignoring all the safety concerns. Wouldn't this make the door heavier and rase the center of gravity. Also where is the window going to retract to. There would need to be multiple tanks all balanced. I don't think the tank placement is an issue for car designers.
Issue was solved and someone is trying to find a novil idea from AI to justify the cost. LLMS don't understand what a car door is or what filling the car involves.