Perhaps, but I personally think the Nephilim were a real race of giants and the few that survived after the Flood were slain.
Also, too many references for giants and their ungodliness in pagan works that I can’t wholeheartedly dismiss this notion.