Yes anyone can switch their career from QA tester to DevOps. It just requires better understanding of all the skills and tools involved in it. For that you need better resources and guidance for understanding these concepts. I would like to suggest this DevOps Certification Training by Intelllipaat which is providing the best instructor-led training in collaboration with Futureskills. This training helps you to learn various concepts of DevOps through hands-on experience. The certifications received after training will play a crucial role in your career growth. The knowledge gained from this training will help you to crack the interviews easily.
Along with that have a look at this video on how Intellipaat Kavya to switch her career from QA tester to DevOps role -