I think it is possible to learn Japanese from anime. When I want to learn a foreign language or improve my foreign language, I support my learning by watching movies and TV series in that language. I think the best way to learn a foreign language is to do an activity you enjoy in the target language.