Possible!
Just use include key word in gitlab-ci.yml
It let's you to 'import' another .yml, so it is possible to reuse same .yml code in many places.
Moreover, you can import for example one job and override some of its attributes, like variables.
It is really flexible.
Please see: https://docs.gitlab.com/ci/yaml/includes/
Have fun 😎