Conditional checkbox fields if checked show a related textfield
If you need to show a field when something gets checkked, you could just use JS to display a hidden field.

My approach would be to make custom table form that has the required input field as hidden. Then add javascript event listener to checkboxes that show the input at that row.

Then just do the normal validation and submit callbacks to update entities based on rows which are checked.