Use collection value as URL parameter

Yes, should be possible using custom code.

Here is a related question Passing collection name to form field