Triggering "B" events via SimConnect from a WASM module?

Is it possible to trigger the new “B” events via SimConnect from a WASM module?

The use of “B” events to wrap the complexity of what happens when something is triggered via UI in the cockpit is great and would be a huge help to people building physical panels to replicate cockpit behaviour. Instead of having to figure out and re-create the RPN scripts that run when, for example, a knob is turned, the “B” event could be called instead to let the SIM do all the work.

One example is the APTrim switch for the TBM930. Instead of doing all the logic one could just call (>B:HANDLING_AP_Trim_Set) with the appropriate value (0, 1, or 2).