R: multivariate regression model building

Suppose I am trying to build a regression with multiple variables. For each variable I have a few possibilities that would make sense. Is it possible to run all the regressions that make sense and R returning the best regression?

i'm effectively thinking of a version of regsubsets where you can force a certain set of variables on each feature.

Is this possible in an easy way?