Teaching a secondary Charged Attack for the first time

I finally decided to teach a secondary Charged Attack to one of my Pokémon. Previously I had always been using a Charged TM to change my Charged Attack into the one I needed. Sometimes there are Raid Bosses for which it is best to use Ice-type attacks, sometimes Dark-type attacks are best. In which I always changed my Fast and Charged Attacks on my Weavile to the type I could benefit from the most for Raids.
Sometimes I end up using my Weavile with Ice-type attacks against Team GO Rocket encounters too so it is definitely more beneficial to have two Charged Attacks on my Weavile. That way I can choose which one to use during the fight, even if I keep my fast attack as Ice-type.

Today from 6 pm to 7 pm local time we had the compensated Mewtwo Raid Hour. So prior to 6 pm I decided it would be good to give my Weavile a 2nd Charged Attack to get Foul Play and then also change my Fast Attack to its Dark-type move. So that I could use Weavile against Mewtwo.
When I taught it a secondary Charged Attack, I got Focus Blast first thus I ended up using a Charged TM to change Focus Blast into Foul Play. Then I was able to choose between Avalanche and Foul Play during the Mewtwo Raid battles as shown in the screenshot.
Now I only have to use Fast TM when I want to change my Weavile from an Ice-type attacker to a Dark-type attacker and vice versa.
Have you taught a secondary Charged Attack to any of your Pokémon before?