"Pick file from media library"-button in plugin


is it possible to make a "Pick file from Media Library" button in a plugin?

I have a couple of configurables in my theme, and one of those is a header image, and I would really like it, if the user shouldn’t have to type in the image url manually.