As an actuary, I can not recommend it to anyone with a technical background. I have degrees in mathematics and actuarial science, and I consider my actuarial science degree completely worthless. A mathematics and/or computer science degree will teach you more in terms of how to think than anyone with an actuarial science degree. If you’d like to take a major where your professors literally teach to the exam/test, the…
There are lots of data science roles at insurance companies, many of which seek out current and former actuaries, so that's probably the easiest foot-in-the-door role to transition out of the field if that's more in line with what you're looking for. However, I'm sure those roles are pretty boring as data science goes.