On purpose? I vaguely remember doing so once several years ago, but I don't remember what the ad was for.
On desktop I'm at no risk of accidentally clicking on ads because I have uBlock Origin, but on mobile, more specifically on the YouTube app, I'll occasionally accidentally tap an ad or "promoted" video.