Not true in the life sciences either. For one you usually pick a group that's working on problems that interest you. I always got to work on my own projects as long as they fit in the broader interests of the group, which interested me in the first place