Joomla is just PHP, so that would be a yes.
Or would a better way be to store the responses on the server then create a program that connects to the server accesses the table and generates an output?
If you mean a stand-alone program, you could do that also.
What is your definition of better? Better for maintenance? Better for implementation? Better for deployment? Think of it this way. Do want a car with great handling around the corners, but not so much top speed, a car with greater top speed, but doesn't handle as well, or a car that accelerates quickly, but does not have a high of a top end? On would be best for high-banked ovals, one would be best for road courses, and one would be best for the drag strip.