Possible, but requires some reverse engineering. Currently, all cameras interpret the * button as a half-shutter press.
Watching the memory contents around HALFSHUTTER_PRESSED (0x3F224 on EOS-M) might be a good starting point. Also, the mem spy utility should help as well. Analyzing the messages from MPU might be helpful too, but this is a pretty advanced topic.