Hi J-m ,
Thanks for your ticket.
Unfortunately, that isn't possible without custom coding (and even then, I would not recommend implementing it).
The only similar to what you want would be creating a variable product with variations for all the possible lengths. You can assign the length of the BOM used for each variation from the linked BOMs section.
Best Regards,
José Andrés