Transfer pokemon from red to ultramoon

Hello.

Recently, I’ve found that you can trade pokemon from red to ultramoon on real hardware. And I also discovered that you can also trade, between emulators, pokemons from some DS games to citra with a thing called “PKHeX”. So my question is, is it possible to transfer pokemon from red to ultramoon? Maybe transfering from red to a ds game and then using that “PKHeX” and then to citra.
I appreciate your attention.

Goodbye.

I’m not sure if that is possible on Citra from how you are describing it, as Citra can’t trade with DS/3DS players. You could always use PKHeX and test it out.