I have seen it done on a Super 73. But only on a Youtube video and without any word of whether it survived. Someone very recently did it to a Sondors Madmods and we'll see how that goes.
Speaking personally as someone who has built a lot of bikes, and a bunch of 2wd hub+mid drive bicycles, and who rides them as daily drivers, its a bad idea.
Just for starters, you are going to put probably a 120 to 160 Nm motor in charge of yanking your chain. That chain leads back to either a cassette body that is secured to a plate on the hub motor with what are probably 6 (or 8) tiny M3 screws. Tearing that motor cover clean off, or at least warping it, is a possibility. Have you seen what a mid drive can do to a cassette body on a proper hub? Wears it out faster unless you get a steel upgrade. If its steel, the pawls underneath are the next failure point, and you can bet a hub motor built with the expectation that the drivetrain is both light duty (hub motors dramatically reduce stress on the drivetrain) and human-powered only is not beefed up like it could have been. With that thought in mind, do you know where to get a replacement cassette body for your hub motor? Chances are you'd have to buy another motor and swap in a new motor core.
What if you have a freewheel? Well the tearing-off and warping risk is still there for the rear motor cover, and you are adding to that the fact you need to put your faith in the threads that screw the freewheel onto the motor. I've seen them strip on Bafang motors under strong human effort. If they don't give way, at the very least they are going to screw that bottom-of-the-line chinesium freewheel onto the motor mighty tight, making the inevitable (accelerated) replacement of same a bigger adventure than usual (google "destructive freewheel removal Park Tool" to see the tutorial).
Taking a machine-built wheel with short spokes not meant for that extra load may not work out so great in the long run, either.
So... your perception of whether this idea will work will not fully be formed until you've tried riding it for awhile and see what ends up breaking. Initially I'm sure it will seem fun.
If you want to do two motors on a new project, do two wheel power. If you are trying to give your existing hub motor some guts going up hiils, I'd either start over with a new back wheel and a mid drive, or sell the bike and start over.
Built to conquer the weakness of twin hubs in hills – and eliminate the damage a mid drive does to an ebike’s drivetrain. The bike I call 2Fat did all that.
talesontwowheels.com