Yeah but it depends on your mentality towards it; it can be a bit of a slippery slope. Using these thoughts to accomplish your goals or for motivation is fine, but it's easy to dwell on the things that you haven't achieved or wished that was different that in turn ends up making you feel bad, or contributes to some form of depression/anxiety about the future.