Yes, it is possible for a video game to switch engines during development, but it's not a small task. The game engine is the foundation on which a game is built. It handles aspects like physics, rendering, sound, and more.
However, switching engines often involves significant work. Many of the assets, scripts, or systems may need to be re-developed or converted to be compatible with the new engine. For example, a game initially being developed in Unity may have scripts written in C#. If the game switches to Unreal Engine, those scripts would need to be rewritten in C++ or Blueprints because Unreal Engine does not natively support C#.
Here's a hypothetical example:
In Unity, you may have a script for player movement that looks like this:
In Unreal Engine, this would need to be rewritten in C++:
Switching engines should be carefully considered, taking into account the reasons for the change, the costs of time and resources, and the benefits that the new engine will bring.