Yes, you could switch your career to digital marketing at your will. Digital marketing is a domain that uses digital platforms and channels to advertise a particular product or service.
The success of digital marketing is the reach and potential of the digital medium. If you are willing to switch your career to digital marketing then make sure, you are well equipped with the right skillset needed to move ahead. Have an inclination towards marketing and are willing to learn daily about the new tools and products out there, and devote your life towards practicing and honing your marketing skillsets, then you could switch into this career with ease.
If you wish to set your career in digital marketing, then I would recommend you to take up the Digital Marketing course from Intellipaat. Also, I would suggest you watch our latest YouTube video on Jobs, Salary, and Future of Digital Marketing to gain more insight.