I think you’re on the right lines with using in
:
{{ range .Site.Pages }}
{{ if in .Params.tags "mytag" }}
{{ .Title }}
{{ end }}
{{ end }}
For instance works as intended.
Getting the first 3 is now the difficult part again.