I will look and see if this is doable in our current code.
We have refactored that functionality, which I believe will make what you are attempting to accomplish possible. That release will not be happening until Q1 of 2023. If you want to play around with this functionality, it can be installed. However, you will need to use our Nightly Repos.