CustomVictoryCallout of end_game_device class

Can I access the CustomVictoryCallout of the endgame device class from a script?

My aim is to dynamically change the win message.
I thought I might be able to accomplish this using CustomVictoryCallout, but any feedback would be appreciated.

thank you.