That's certainly possible, but you would have to provide the functionality to check the given answers agains your answer key. If you use a good naming convention for your radio button groups, you can access e.g. the given answer for question 1 using the following:
var a1 = this.getField("Question1").value;
You can then test this value agains your answer key and keep track of how many correct/incorrect answers you have in this particular test. You can then e.g. unhide a so far hidden field and add information about this number and the grade to that field.