Trigger pop-up on certain clicks

I would like to trigger a pop-up after 4-5 random clicks across the page/post. Would it be possible to do?