Is it a problem to get a L2 dependent visa for Indian husband if wife is Japanese with L1 visa?

Me and my wife are international couples where I am an Indian and my wife is Japanese. My wife is getting an opportunity to get a L1 visa from her office but we don’t know whether I can get a L2 dependent visa or not as being her spouse, because I am still an Indian citizen with Indian passport and having only resident & work permit of Japan after our marriage.

It is ok to get L-2 visa even if you belong to different countries.