I switched from doing back-end C# work to front-end JS by switching jobs at my employer. I basically reskilled on their dime. If you're a talented engineer and your company doesn't suck, they should be relatively accommodating to this idea. Engineers get bored and want to switch it up, smart companies and smart managers get this.