You can do this but, in case it's not obvious, the requirement is that all files with matching filenames are encrypted.
So if you're really sure that's what you want, then see C-hv epa-file-name-regexp
(n.b. Applied too broadly, this could cause carnage -- you might inadvertently encrypt system-critical files, for instance. Don't do anything like this without very carefully considering all of the possible ramifications.)