You can do that with Infinite Openings:
https://cadswift.com.au/products/Infinite-Openings.html
I know its a 3rd party tool and has a cost but the benefits far outweigh the expense.
Creator of Cadswift's parametric GDL libraries
Creator of Infinite Openings and Component Catalogues
Push the envelope & watch it bend
website:
https://cadswift.com.au/
YouTube:
https://www.youtube.com/user/CADSwift/playlists