With the consideration, that this looks me as an awful idea...
In SQL you can execute dynamic queries, so you can do something like this
DECLARE @SQL VARCHAR(MAX) = 'SELECT (5+5)'
EXEC(@SQL)
One point you have to take care of is the valid format of the expressions - in your samples not all expressions are valid SQL...