Yes, this phobia does exist.
If you have a phobia of dark woodlands/forests or woodlands/forests in the night, it is called Nyctohylophobia.
If you have a phobia of all forests and woodlands regardless of whether it's dark or not, it is called Hylophobia.