Is making wine core possible

Is it possible to develop a wine core Wine is written in c and libretro api too So if it is possible so it may be complicated So i want to develop it Can someone guide me basics to build it

Not really on its own, but something like BoxedWine ( could maybe be possible.

You would need to find its main loop and wrap its functions in libretro functions to generate a frame of video and accompanying audio files via retro_run().

I have summited issue here