Yes. That's part of my reason for supporting higher and higher defense spending. Defense and science are eternally inseparable.
Really good introduction to it all https://www.amazon.com/gp/product/B07BLKXV68
Also, more science projects lead to more experienced scientists and engineers, which leads to a stronger pool for the defense industry.
Cynically, I think our congresspeople don't actually take our feedback about the budget into account. They'll talk a big game about wasteful spending and the need to reduce deficits but the pork never stops flowing.