I know it's possible, because a few people I know have it.
My mouse is kinda broken, and it needs more pressure in order for it to register that I am clicking. It's a pain in the ass, and it makes stuff like obstacle courses harder. If somebody could make me an autoclicker script, this could all change.