Access private github repo as submodule in gitlab CI/CD

I want to access private github repo as submodules in gitlab CI/CD.

I have checked the docs for that but it suggests that submodule repo should be public one or should be hosted on same gitlab server.

Hence, Is it possible to use private github repo as submodules in gitlab CI/CD ?