Yes, but it can be inefficient performance-wise, which is why precalculated lighting is often a mandatory performance setting in most games. The ideal goal is to use the dedicated RT hardware in a way that achieves similar graphical results but with minimal performance loss (to transfer the CPU-bound option to something that can comfortably run on most average consumer GPUs).
Traditional Dynamic Lighting is definitely a good option to have for the user, though.