Anime combined with role-playing gameplay is often confused with another similar genre - jRPGs, that is, Japanese RPGs. However, not all anime-style RPGs are jRPGs and vice versa.
However, this also happens, and quite often. Mainly because anime has long been associated with Japanese culture. So if the developer decided to make an RPG in a Japanese setting, then anime is an excellent choice.