What do you mean by "manager"? if you mean a team lead, then of course. They may be the best person.
If you mean a "project manager", then I would say they CAN, but the skills needed to be a PM are different from a developer/team lead. Having one set of skills doesn't mean you do or don't have the other.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Tick check! Okay, I guess that was just an itch. Oh wait! Just a tiny ad: