Yes.
When we reach the point that we essentially become God.
Able to control the Universe at will, from the subatomic level up to the macrostructures of the cosmos, able to simulate and have full knowledge of all things, and being able to directly influence and change those things to our own will.
We are a long way off, but really when we hit that point, what science is left? Philosophy? Nein. Philosophy will be dead, when we have all the answers, no questions left to ask.
The only way to continue science at that point, will be to obfuscate what we have already come to understand. That is not science.