When you shutdown the camera via the power switch the camera goes through a shutdown routine. It even delays power off if the camera is writing files to the card.
If you are using a dummy battery and just cut power you lose all of the shutdown process. If your YouTube process isn't recoding to the card I suspect (but don't know for sure) that it's going to be OK since there is nothing to lose.
Would it work most of the time? Probably. Is it safe? It only takes one bad power surge to fry your camera. Doing it once in a while likely won't cause issues but repeated hard on/off via dummy battery just increases the chance/probability that a fault can occur. Not worth the risk IMHO.
The power supply via the dummy battery isn't going to drop off cleanly when you cut off AC power to it. Once the smart plug shuts it off, the voltage to your camera is going to decay fairly rapidly from normal operating to near zero. The behavior of the camera will be unpredictable and random when the voltage transitions from normal to zero while the camera is still turned on and some of those random results may be bad.
As an example, when I was heavily using my 1D Mark II I needed new battery packs and both Adorama and B&H were back-ordered on the Canon packs so I bought a pair of third party batteries. They appeared to work fine until I tried them at a sports event and the camera would lock up when shooting a sustained burst and require me to remove and re-insert the battery pack to clear the fault. The reason for this glitch was the third party battery couldn't sustain the current needed for these high speed bursts and voltage would drop into that problem region between normal and 0.
Final caution is some power supplies don't behave nicely when being plugged in or unplugged to the AC line and will briefly generate a voltage spike on the output at the instant of being plugged in or unplugged. This is less likely with a well designed OEM supply and very likely with cheaper aftermarket designs which are heavily "cost engineered". Frequent removal/application of power to the power supply while it is connected to an operating camera creates a significant likelihood of camera damage as likelihood of a negative consequence is a function of the number of opportunities for this negative consequence to occur. Forgetting to turn off you camera once in awhile before unplugging the power supply isn't likely to cause damage but do that same thing hundreds or thousands of times and the probability greatly increases.
12/05/2023: New firmware updates are available.
09/26/2023: New firmware updates are available.
08/18/2023: Canon EOS R5 C training series is released.
07/31/2023: New firmware updates are available.
05/18/2023: New firmware updates are available.
03/30/2023: New firmware updates are available.