I'm sure there are many more examples but famously Groove Armada recorded the trombone parts of "Superstylin'" and "At the River" through a speaker because they didn't have a microphone in the studio.
That trombone part: well, it worked out well for them. There is one quiet part where we can hear the horn pretty well and I have to say the response of the speaker rolled off a lot of the subtlety of the instrument.
Normally, that would be bad, but for the overall production style of the tune, it just works! Feels a whole lot like a sample ripped from a cassette, or lo-fi vinyl setup.