In theory yes (never bothered to do it myself but the functionality is in place). You will need to retrieve the correct answer from somewhere and store it in a string, but I assume you will be loading new questions via events anyway so you will be doing it then. Once you have text variable [answer] stored do the following on text changed in textbox.
event
condition
User finishes entering answer and confirms (clicks a confirm button or presses enter or something, don;t use the textbox changed text condition as it triggers every time when you type inside it)
no actions
sub-event -1
condition
textbox compare text to text stored in [answer]
action
call function "correct"
sub-event -2
condition
else (system conditons)
action
call function "wrong"