You will definitely be an expert when you spend on something 10,000 hours.
However, to change a career, you need much less.
To get a very junior tech/programming job I would say it's something like 500-1000 hours.
That's about the same as most coding bootcamps. And a lot of people who went through a coding bootcamp were able to get a job in tech.