Not really practical, I'm afraid.
The trouble is that a "correct" SQL query can fail if the table or any of the column names is wrong, as well as if the syntax is wrong - so your "check it out" method would have to understand SQL syntax properly, and be capable of parsing and checking it, and also know the tables and their layouts including datatypes. Otherwise this valid SQL query:
UPDATE MyTable SET MyCol=@VAL
could still fail if:
1) There is no "MyTable" table
2) There is no "MyCol" column in "MyTable"
3) You fail to provide the "@VAL" parameter
3) The datatype that you prove for the parameter does not match the column. For example, if the column is DATETIME and your provide a string containing "Hello!".
You could probably do it, but it's an enormous amount of work, and unlikely to be particularly helpful.