I drag documents into the dock to open them with a specific application. There are a lot of document types that I deal with where there’s no one-size-fits-all default—stuff like media files especially.
I use this all the time to handle things like text, images, pdf etc to open them in non-default apps. I find this a lot easier than dealing with the dock. Hope this helps!