What parts about it do you like? It could be possible to find a job that puts more focus on that.
Maybe a change in company? Culture, tech stack, product etc all affect job satisfaction. It sounds like you're in a rough spot having such investment in these skills but not being happy, it'd be a shame to throw that away without trying some sort of smaller change first.