How to add multiple text boxes at the click of a button
What do you mean exactly?
You could show a pop-up with text-boxes on click of a button.
Another option would be to change a boolean in a microflow on click of the button. Then use the boolean with conditional visibility to show the textboxes.