Yes anytime and all day long. We all could use more flexibility and range of motion.
Stretching can be done all day. It’s one of the fastest things we lose. You can lose gains in 24hrs or less.
So stretch every chance you get.
of course some stretching techniques are better than others and more useful during different parts and times of the day depending on what your doing.