Hello everyone

if you are give a data set with age ask outcome(dependent variable) but in the data set age has two scale categorical and continuous. is it possible to explore the relation between the categorical variable (age) and in-depend variables(categorical) using chi square and late build a multiple regression with the continuous variable(age) the independent variables.
what if does this have on the model if any or it is okay to do that with any problem?
Thanks