Is it possible to left click with the keyboard instead of the maus?

For example is there a way to configure, when I select a villager and I touch the key to create a building, when I touch another key or the same key it will build it instead of clicking with the mouse.