There's a rather old project that may do what you want: https://github.com/zoran123456/Comic-Smart-Panels
I also use AlternativeTo to look for ...alternatives! Unfortunately, the other alternatives (besides Comic Smart Panels) are all proprietary, varying degree of "free": https://alternativeto.net/software/comic-life/