This is how the EPGY software (I think? It might have been Hopkins CTY, this was over a decade ago) taught factorization in algebra: it was incredibly effective and simply made sense, and was IMO far more effective than what I saw being taught in the classrooms.