I wouldn’t recommend learning Japanese from anime subtitles. The transition between Japanese and English have many differences, some meanings for words in English don’t exist in Japanese, and some Japanese words can be accurately defined within a single English word. If you want to learn Japanese learn from a professional.
As for reading the subtitles, typically if you watch a couple episodes you can read the subtitles without actually looking at them. It’s hard to explain but it’s how it works.