Yes, I think so. There are several INFJ subtypes, one of which is more academic. Is that you? You would be called upon to think like a scientist more than a philosopher. As long as you have a really strong tertiary function (Ti I believe), this could work for you.
Scientists are generally not encouraged to make intuitive leaps, which is what we do best. Wanting to use your Ni in situations where it's inappropriate might become an issue, but not if you are aware of this tendency and realize when it's appropriate and helpful, and when it's not.
Our incredible scope and vision can be an outstanding strength for an ecologist. After all, ecologists have to be able to see the wide ranging impact of things.
I'll bet there is a way that your interest in ecology could be combined with something INFJ's are more traditionally suited for. Any ideas?