Cross-filtering based on common hidden tags

I offer different solutions on my business, for which I have several posts (tutorials, success stories, etc…). I publish both in English and Spanish. Therefore, I’ve got hidden tags like:

tags:
   - '#language: es'
   - '#solution: excel-automations'
   - '#type: solution'

In the solution landing page, I’d like to showcase all related posts to language and solution, while excluding type: solution.

Is there a way, using Ghost Pro, to retrieve the language and solution from the current post (a solution landing page) so that I can get all related posts?

In other words, is there a way to create a function that can capture tag_solution and tag_language?

{{#get "posts" filter="tags:hash-solution-{{tag_solution}}+tags:hash-language-{{tag_language}}-tags:hash-type-solution" limit="all"}}