Hi, it is a long process involving Pal Park, Poké Transporter, Pokébank and Pokémon HOME but it's (still) possible.
There are step by step guides on the internet that you can use if you're interested into bringing somthing from FRLGE to Generation 8.