It will function electrically with many of the major safety mechanisms in place and is legal in some jurisdictions but is not legal in any U.S. jurisdiction. Also the U.S. mostly has 120V outlets while GTIs are predominantly 240V
I agree it is mostly safe since the exposed prongs will not be energized when plugging in. And after unplugging the exposed prongs will be safe again within a few seconds so there is a limited window of danger. Which can be mitigated by adding disconnect switches.
The main legality issue here in the USA has to do with the back feed into the main panel. By the 120% rule, the back feed breaker must be at the complete opposite end of the bus bar and be clearly labeled as the back feed. So yes, it is most likely not legal by that rule, but it is still "safe" when used within it's design. They do sell 120 volt units you can plug into an outlet anywhere in the house and it will work and not cause a serious danger. But I do agree, it is best to have the back feed at the end of the bus bar and to know for sure where power is coming into the panel.
There are many things we can do that are completely safe, but do not meet local codes. Most building and electrical codes are intentionally a bit more strict than they need to be because a lot of people don't meet all of the codes. A bit of extra safety overlap is not a bad thing. I always build to code and highly recommend that anyone else does as well. If you build to local code, you know it will be safe and if someone else needs to work on it in the future, they won't find a big surprise. But there are certainly use cases where something may not meet code but is still safe and helps get around a problem.
Here is an example.
My old house back in Illinois only had a singe 15 amp 120 volt circuit for the garage. It was a buried #12 run over 120 feet long. I had planned on trenching and running a 3 x #6 UF cable for a 30 amp 240 volt feed, but I ended up moving before I could do it. My air compressor was on the ragged edge to run on that 120 volt 15 amp feed. I had to even turn off the lights when it would run up the tank pressure. If I was still living there, putting 1,200 watts of microinverters on the garage roof, feeding into that circuit would have been a great help. If nothing was on in the garage, it would feed up to 10 amps back to the main panel in the house. But in full sun, it would have given me a solid 20 amps in the garage so I could run the compressor and a few other tools and lights. Technically, it would not meet code, but it would be safe and work just fine. If I did this, I would move the garage feed in the main panel to the bottom of th bus bars, opposite the main breaker and it would have been under the 120% rule. The only thing that would not meet code is that it is not a dedicated circuit and loads could be on the same branch. In normal use, the current demanded on the wires from the house to the garage is greatly reduced. The current is never more than it was originally planned for, but some times, the current might go backwards. To make it as safe as possible, I would run a sub panel in the garage, and the outlets would have been on 15 and 20 amp breakers still. When the sun is shining, I could get 25 amps into the panel. Th breakers would be sized to protect their wires.
At my new house here in California, the codes are even a bit more strict on some things, but far looser than Chicago on others. I am thinking of adding a gazebo in the back yard with a solar panel roof. To strictly meet the code, I would need a dedicated feed from the PV solar equipment back to my main panel in the garage, and if I wanted lights or outlets, it would need a separate dedicated feed back from the main panel out to the gazebo again. This seems like a complete waste of wire and money. Yes, if you don't add the proper breakers at both ends, it might not be completely safe, but it can be done safe but not to code without separate wire runs. My original thought was to back feed in at the Air Conditioner where I have a #6 run, straight back to the panel. I know it would be safe, but again, code will not legally allow it.
DIY work should be done to code. And so far, everything I have done is within code. And I stress to anyone else here, look up the codes and plan it all to meet code or exceed it. I typically go one wire gauge larger than code requires. Electrical fires are bad news. No one wants to see that happen. Same thing with any shock hazard, do you best to make it as safe as the code if not better. If you do have anything wired odd, make a note of it and leave it in the panel or box where it was done. I used to have dimmed outputs for lamps. ALWAYS label anything like that.
The one thing I keep finding in my own home is bad neutral branching. I just installed a new WiFi dimmer. The single red wire nut was holding 5 neutral wires in the back of the box. OUCH! This does meet code, but it sure makes it hard to work on. The WiFi dimmer needed a neutral feed. I found the neutral wires going out to the lights and split those off. Now the neutral from the main panel splices to an outlet and two #12 wires. On feeds the dimmer neutral terminal, and the other now splices to the light fixture loads. Each wire nut has 4 wires in it now. But the box is totally crammed now.