If what your asking is if you can use the cox model with time-dependent variables (e.g. variable x starts off as 0 but then becomes 1 at a later time point) then yes. Here's an R vignette explaining how to do it: https://cran.r-project.org/web/packages/survival/vignettes/timedep.pdf