Certainly possible. To log on and store their data, you'll need a database, so probably need to do some PHP/AJAX stuff. All fairly easy and there are some tutorials for that. The quiz part shouldn't be difficult. But you'll have to let us know where you're up to, so what you need help with specifically.