Yeah, you can do that as well, well kinda, but it's harder, provides a lower maximum frequency and wastes more CPU cycles.
See: https://csdb.dk/release/?id=72678&show=notes
There have also been efforts to do "sampled" sound synthesis with C64's 3 voices, speech, etc. I don't remember any links about that, unfortunately.