Custom Funtion

Custom Funtion

Hi everybody,
It is possible insert a record in a custom module using Custom Function?
Thanks!