That is very interesting to know since it is even found in the Bible. The part in Exodus when the Living God used the 10 Plagues of Egypt to show He is top God, as each of the plagues has Him using the domain of the Egyptian gods to punish the Pharaoh's stubbornness.
The Bible actually doesn't contain any War in Heaven narrative (what you're describing is a fringe understanding of the 10 Plagues - Egyptian gods didn't work that way) and almost every remnant of Israeli paganism in the Bible depict Yahweh as a subordinate deity to El Elyon, with no surviving narrative of Yahweh fighting a war of conquest (as in the Aesir x Jotun stories) or a rebellion to gain power (Olympians x Titans). Yahweh even loses to Chemosh in Kings 3:27. The way the Bible worked it out was to have Yahweh simply take on the attributes of Canaanite supreme deities and deny the previous deities' existence.
With that said, the Bible DOES contain invader mythology in the form of Exodus (identifying Israelites as foreign invaders to Canaan) and Joshua (the actual conquest), but without the accompanying heavenly conquest of the Canaanite pantheon by Yahweh. In truth, just like the Spartans in Greece and the Yamato Dynasty in Japan, Israelites were just Canaanites who had a cultural shift in identity and overtook the previous culture.
There is a current hypothesis going around that the Exodus narrative is actually a tribal history of specifically the Levite tribe of Israel. Levites in the Bible carry Egyptian names from the first generation and are prohibited from owning land, and they were of course the tribe from which the Deuteronomistic editors emerged. It is possible that the Exodus narrative was a sort of family legend that the Deuteronomistic school adopted as a national history when they were compiling the Torah. Similarly, the reason Samson the Danite hero is basically Hercules may be because the Dan tribe were originally part of the Aegean "sea peoples" who got assimilated in the Levant like the Phoenicians.
The Christian War in Heaven narrative actually came from Enochian text, so not found in the Bible itself. However, some Christian writers (the writer of Jude, for example, and the entire Ethiopian Church) considered Enochian literature to be scripture.