It'll fail, and the mod trying to migrate will get grumpy.
If it looks like an obvious attempt to get around a question ban, you would have to deal with whatever the mods on the site you posted on decide to.
At best it'll get closed. At worst, you get a mod message or a suspension.
If its a single honest mistake, meh. No big deal
In most cases the ...
When I asked a question recently on graphicdesign.se I saw there a feature of SE software which I hadn't seen before (screenshot below).
It isn't exactly what you suggested but it's better than nothing at displaying some usage guidance to the user when they ask a question.
Possibly, I don't know, the moderators of your sites could get such a thing added/...
I agree. Let's move the question. How do I do that?
Are you a moderator on that site? If not you could flag for mod attention and propose the site to migrate with your flagging reason.
Site moderators or CMs can migrate questions to other sites single handedly.
I asked a question on SO and someone has pointed out (via a close vote) that it would be ...
Even moderators can't migrate questions to sites where you're question banned. Otherwise it would just be a loophole people would exploit to get round the ban. You need to get out of the ban first.
If ask for impossible migrations repeatedly knowing you are banned the source site mods will be less than impressed and likely do something to stop you. If not ...