Yes. You should be having this kind of career conversation with your current manager. Together, you should be able to find opportunities to grow and test out manager-like skills (e.g., hiring and managing an intern, mentoring junior devs, becoming a team lead, etc).
Camille Fournier's book, The Manager's Path, is a good read for learning about some of the common transitions from IC to manager to executive in software engineering.