You can always generate the carrier waveforms directly and use an “Naturally” sampled approach, where the compare value with instantaneously update.
Some relevant posts:
- Variable Phase: Phase shift modulation simulation in dual active bridge converter - #3 by rangitray
- Variable Frequency: Triangular wave with variable frequency - #2 by Bryan_Lieblick