Yep and the cream is light so if you allow the latex/nitrile glove to snap (stretched and released) it will often splatter the shaving cream. Covid 19 is bad but not nearly as bad as other stuff a first responder could face in the real world.I usually wear nitrile gloves when I'm doing messy jobs like changing the oil in my truck, greasing tractors/implements, or preparing herbicides/pesticides for the sprayer. If you do that, you learn to avoid touching stuff you don't want to get greasy, and to turn those gloves inside out when you change them.
Shaving cream sounds like a better (not to mention cleaner) idea for learning to do it, though.