Certainly you can, provided you have a proper time series for each. These variables are measures of a part of the climate system, hence they have stochastic and stationary components in their time behaviour which make them suitable for statistical analysis involving uncertainty.