Technically, no you are not able to return two variables in the way you would normally return a variable. You can, however, use references. That way, you can pass multiple variables to a function, and the function will assign them, rather than returning anything:
void function(double & param1, double & param2) {
param1 = 6.28;
param2 = 3.14;
}
And you would call it like this:
double var1, var2;
function(var1, var2);