It is possible - but there will be a hell of a lot of competition for the phd's from ecology graduates. I have an MSc in Ecology and there are many like me trying for those places! Apply anyway but think about doing an MSc in Ecology as well - your then much more likely to be considered in the future