I just tried this for fun.
It works! Not the speediest and editing code on a phone is not great, but it does work.