Actions in GitLab

I’m looking into developing an extension for GitLab that will perform on demand enjecting environment variable and/or files in to the pipeline. Is there a way to develop something similar to Custom GitHub Actions?