This is absolutely possible by modifying the EC firmware.
You’re correct that the recent open sourcing could speed up community efforts to mod this in. I’ve even taken a stab at your particular request myself. however, I wouldn’t recommend this for the average user, as it’s pretty technical and there’s a non-zero chance of bricking your laptop in an attempt to do this yourself.