About add sub-subform for dynamically added subforms

Side Note: When posting code here, enclose the code between lines of three backtick - ` characters. This means you’ll have a line of ```, then your code, then another line of ```. This forces the forum software to keep your code properly formatted. (I’ve taken the liberty of adjusting your original code for this, please remember to do this in the future.)

To directly answer your question, yes. With some JavaScript (or HTMX) and specialized views, you can create the html for a formset in Django, and then inject that into the current page.

This is a topic that has been discussed a few times previously.

A couple of the more detailed threads are at:

(There may be others, these are just the first best two I could find.)