I am in a research team. Although may be different in other teams, my team allows to pursue own interests in research if it relates to some degree to what company tries to do.
Cons
There is some period you have to focus on how to demo that your work can be applied to company's interest but only for a short period.