I've never tried it but...
You would need to capture MANY MANY robbers for it to work. Unless you have an apiary nearby you probably won't get near enough. If you have any other hives, then just do a split.
If you did get many robbers, it might work but it would be tricky...you would probably need to get tons of bees in there, close it up, move it miles away, leave them closed up for about 3 days without overheating them, then introduce a queen in a cage. But you'd probably end up sacrificeing a perfect good queen.
If you left them there, you would need to close them up for 3+ days, open them up add the queen and hope they all didn't fly away, and then close them back up again for a day or two.
I think that foragers can go back to be nurses if they need to .
Dicey at best.
Rick