Nope. This is done on purpose so as to help avoid botting which is forbidden.
Having said this, there are a few specialized functions that effectively simulate mouse clicks for specific situations. For example, the ClickRepairAllButton() which will, if called when visiting a repair NPC, will repair all your gear as if you click the button manually. But there is no generic function for simulating mouse clicks.