Adding own custom policy to advanced setting section on user&permission's role setting?

Hi! I’m currently seeking a way to apply custom policy to routes via strapi’s admin and found out that role setting by user&permission’s plugin provides a similar feature which allows users to add pre-made policy (isAuthenticated and ratelimit policy) located in node_modules/strapi-plugin-users-permissions/config/policies/. This function provided was literally what I was looking for but it seems like they support no custom policy located outside the node_modules/strapi-plugin-users-permissions/config/policies/ and thus ignores policies located inside config/policies directories. Is there any way I can add a custom policy to the setting without altering files inside node_modules?