Yes is the answer, this should get you started a very very basic solution but enough to show you what you need to be looking at to acheive your goal. check out http://www.w3schools.com
and get yourself a copy of the javascript anthology published by sitepoint ISBN 0-9752402-6-9
<html>
<head>
<script type="text/javascript">
var instance = 0;
function newTextBox(element)
{
instance++;
var newInput = document.createElement("INPUT");
newInput.id = "text" + instance;
newInput.name = "text" + instance;
newInput.type = "text";
document.body.insertBefore(newInput, element);
}
</script>
</head>
<body>
<input type="button" id="btnAdd" value="New text box" onclick="newTextBox(this);" />
</body>
</html>