ck24
The only way to legally transfer to home is to gen them in the game that the Mystery Gift originated from. If you selected SWSH
for example, you need to gen those in SWSH then move them to Home.
The reason we allow people to gen these in Scarlet/Violet still is because they are still technically "legal". They just can't go to Pokémon Home. You can still play online with them just fine without worry.