Of course. Worrying is thinking in circles, and that is very difficult to break, especially at night. Through meditation, you learn to notice those thoughts sooner and let go of them with what view from a distance. With this the thoughts will make you less in control.