I started with the linuxcnc milling.cps post processor and converted it to a cutting post processor that generates G code similar to lightburn's linuxcnc gcode generation. M3/M9 to turn laser on/off, M67/68 E0 Qxx to control PWM. You can enter etch, through, and vaporize pwm levels. I'm using a mesa card and the pwm that's on it. (see attached laser.hal) I have used this with the F360/cutting/2d profile with the built in laser cutter tool.
I have relays for the laser power, air compressor, cross-hair laser. analog out 1 drive the Mesa PWM which controls the laser power.
There might be some extra gcode comments that get spit out but this has been working for me.
I think if this works well for other people, I'd be happy to clean it up and ideally have it available for Fusion (like the lathe and milling PP).