Yes, it is possible to build a game engine using another game engine.
Developers frequently create new tools and engines on top of existing ones, taking advantage of established frameworks to bring their own ideas to life.